fixing -fvisibility-inlines-hidden problem (IsOk function didn't get exported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
|||||||
|
|
||||||
// accessors
|
// accessors
|
||||||
bool Ok() const { return IsOk(); }
|
bool Ok() const { return IsOk(); }
|
||||||
bool IsOk() const {return m_isInit; }
|
bool IsOk() const;
|
||||||
|
|
||||||
unsigned char Red() const { return m_red; }
|
unsigned char Red() const { return m_red; }
|
||||||
unsigned char Green() const { return m_green; }
|
unsigned char Green() const { return m_green; }
|
||||||
|
@@ -63,3 +63,9 @@ void wxColour::FromRGBColor( WXCOLORREF* color )
|
|||||||
m_blue = col->blue >> 8;
|
m_blue = col->blue >> 8;
|
||||||
m_green = col->green >> 8;
|
m_green = col->green >> 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool wxColour::IsOk() const
|
||||||
|
{
|
||||||
|
return m_isInit;
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user