X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/gdiobj.h diff --git a/include/wx/gdiobj.h b/include/wx/gdiobj.h index a7f946d2d6..0c251cc9d6 100644 --- a/include/wx/gdiobj.h +++ b/include/wx/gdiobj.h @@ -23,9 +23,16 @@ class WXDLLIMPEXP_CORE wxGDIRefData : public wxObjectRefData { public: + // Default ctor which needs to be defined just because we use + // wxDECLARE_NO_COPY_CLASS() below. + wxGDIRefData() { } + // override this in the derived classes to check if this data object is // really fully initialized virtual bool IsOk() const { return true; } + +private: + wxDECLARE_NO_COPY_CLASS(wxGDIRefData); }; // ---------------------------------------------------------------------------- @@ -50,7 +57,7 @@ public: // because it's still widely used) bool Ok() const { return IsOk(); } -#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXPALMOS__) +#if defined(__WXMSW__) || defined(__WXPM__) // Creates the resource virtual bool RealizeResource() { return false; }