]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gdiobj.h
Check axis number in the received joystick messages.
[wxWidgets.git] / include / wx / gdiobj.h
index a7f946d2d67a09f1b0028098f6988dbed6c532d4..0c251cc9d60d14ea2dec72b83b671149a00fd237 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);
 };
 
 // ----------------------------------------------------------------------------
@@ -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; }