X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c208c5759da71a637f0f0f5b7d3dc3eda09c02..d9506e775853406953c4b3ecd6f57b85abdafdfd:/src/msw/brush.cpp diff --git a/src/msw/brush.cpp b/src/msw/brush.cpp index 9c33fc9edd..7e107855c9 100644 --- a/src/msw/brush.cpp +++ b/src/msw/brush.cpp @@ -33,9 +33,7 @@ #include "assert.h" -#if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxBrush, wxGDIObject) -#endif wxBrushRefData::wxBrushRefData(void) { @@ -179,7 +177,7 @@ bool wxBrush::FreeResource(bool WXUNUSED(force)) else return FALSE; } -bool wxBrush::IsFree(void) +bool wxBrush::IsFree() const { return (M_BRUSHDATA && (M_BRUSHDATA->m_hBrush == 0)); }