Merge branch 'hotfix-1.3' into develop
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user