Merge branch 'hotfix-1.3' into develop

This commit is contained in:
Jinhao
2016-06-10 17:08:48 +08:00
14 changed files with 294 additions and 214 deletions

View File

@@ -26,8 +26,6 @@
#include <nana/gui/detail/element_store.hpp>
#include <nana/gui/detail/color_schemes.hpp>
#include <iostream>
#ifndef WM_MOUSEWHEEL
#define WM_MOUSEWHEEL 0x020A
#endif

View File

@@ -28,24 +28,9 @@
#include <nana/system/platform.hpp>
#endif
namespace nana{
namespace paint
{
class image_accessor
{
public:
#if defined(NANA_WINDOWS)
static HICON icon(const nana::paint::image& img)
{
auto ico = dynamic_cast<paint::detail::image_ico*>(img.image_ptr_.get());
if(ico && ico->ptr())
return *(ico->ptr());
return nullptr;
}
#endif
};
}
#include "../../paint/image_accessor.hpp"
namespace nana{
namespace detail{
#if defined(NANA_WINDOWS)