derive wxColourBase from wxObject on os2 as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,7 +58,7 @@ DECLARE_VARIANT_OBJECT_EXPORTED(wxColour,WXDLLEXPORT)
|
|||||||
// code redundancy in all native wxColour implementations
|
// code redundancy in all native wxColour implementations
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#if defined( __WXMAC__ ) || defined( __WXMSW__ )
|
#if defined( __WXMAC__ ) || defined( __WXMSW__ ) || defined( __WXPM__ )
|
||||||
#define wxCOLOUR_IS_GDIOBJECT 0
|
#define wxCOLOUR_IS_GDIOBJECT 0
|
||||||
#else
|
#else
|
||||||
#define wxCOLOUR_IS_GDIOBJECT 1
|
#define wxCOLOUR_IS_GDIOBJECT 1
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
#define INCL_PM
|
#define INCL_PM
|
||||||
#include<os2.h>
|
#include<os2.h>
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxColour, wxGDIObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
|
||||||
|
|
||||||
// Colour
|
// Colour
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user