]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gdiobj.h
Use correct reload flags on all platforms to avoid compilation errors
[wxWidgets.git] / include / wx / gdiobj.h
index a7f946d2d67a09f1b0028098f6988dbed6c532d4..d38a44bb7e5065fee1d74ad9a3199e713c9243da 100644 (file)
 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);
 };
 
 // ----------------------------------------------------------------------------