]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
Added a wxDataFormat::SetAtom() inline function.
[wxWidgets.git] / include / wx / window.h
index 6062504215e3208ffdaf93c9b294e8cbd96dce3f..e801a29cf59f181f79513199d339c85d3f426f59 100644 (file)
@@ -170,7 +170,7 @@ public:
 
         // generate a control id for the controls which were not given one by
         // user
-    static int NewControlId() { return ++ms_lastControlId; }
+    static int NewControlId() { return --ms_lastControlId; }
 
     // moving/resizing
     // ---------------
@@ -723,10 +723,7 @@ private:
     // contains the last id generated by NewControlId
     static int ms_lastControlId;
 
-    // no copy ctor/assignment operator
-    wxWindowBase(const wxWindowBase&);
-    wxWindowBase& operator=(const wxWindowBase&);
-
+    DECLARE_NO_COPY_CLASS(wxWindowBase);
     DECLARE_EVENT_TABLE()
 };