X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..3ac1094bead05e30462122d00e4859725d2ea59f:/include/wx/msw/brush.h?ds=sidebyside diff --git a/include/wx/msw/brush.h b/include/wx/msw/brush.h index 4a83d7b57d..6e21585ad1 100644 --- a/include/wx/msw/brush.h +++ b/include/wx/msw/brush.h @@ -16,7 +16,7 @@ #include "wx/gdiobj.h" #include "wx/bitmap.h" -class WXDLLEXPORT wxBrush; +class WXDLLIMPEXP_FWD_CORE wxBrush; // ---------------------------------------------------------------------------- // wxBrush @@ -42,7 +42,8 @@ public: virtual int GetStyle() const; wxBitmap *GetStipple() const; - bool Ok() const { return m_refData != NULL; } + bool Ok() const { return IsOk(); } + bool IsOk() const { return m_refData != NULL; } // return the HBRUSH for this brush virtual WXHANDLE GetResourceHandle() const;