class WXDLLEXPORT wxClientData;
class WXDLLEXPORT wxControl;
class WXDLLEXPORT wxCursor;
-class WXDLLEXPORT wxDc;
+class WXDLLEXPORT wxDC;
class WXDLLEXPORT wxDropTarget;
class WXDLLEXPORT wxItemResource;
class WXDLLEXPORT wxLayoutConstraints;
// label is just the same as the title (but for, e.g., buttons it
// makes more sense to speak about labels)
- wxString GetLabel() const { return GetTitle(); }
+ virtual wxString GetLabel() const { return GetTitle(); }
// the window name is used for ressource setting in X, it is not the
// same as the window title/label
// 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
// ---------------
// 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()
};