X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..82bbd8907b6a5f4e476f8d9075afb6bef203a165:/include/wx/dfb/brush.h diff --git a/include/wx/dfb/brush.h b/include/wx/dfb/brush.h index 9879123399..8398b46da4 100644 --- a/include/wx/dfb/brush.h +++ b/include/wx/dfb/brush.h @@ -21,8 +21,8 @@ // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxBitmap; -class WXDLLIMPEXP_CORE wxBrush; +class WXDLLIMPEXP_FWD_CORE wxBitmap; +class WXDLLIMPEXP_FWD_CORE wxBrush; //----------------------------------------------------------------------------- // wxBrush @@ -35,7 +35,8 @@ public: wxBrush(const wxColour &colour, int style = wxSOLID); wxBrush(const wxBitmap &stippleBitmap); - bool Ok() const; + bool Ok() const { return IsOk(); } + bool IsOk() const; bool operator==(const wxBrush& brush) const; bool operator!=(const wxBrush& brush) const { return !(*this == brush); }