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:
parent
f8b1df0b15
commit
2c0b3fd14c
@ -58,7 +58,7 @@ DECLARE_VARIANT_OBJECT_EXPORTED(wxColour,WXDLLEXPORT)
|
||||
// code redundancy in all native wxColour implementations
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if defined( __WXMAC__ ) || defined( __WXMSW__ )
|
||||
#if defined( __WXMAC__ ) || defined( __WXMSW__ ) || defined( __WXPM__ )
|
||||
#define wxCOLOUR_IS_GDIOBJECT 0
|
||||
#else
|
||||
#define wxCOLOUR_IS_GDIOBJECT 1
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define INCL_PM
|
||||
#include<os2.h>
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxColour, wxGDIObject)
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
|
||||
|
||||
// Colour
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user