X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e64df9bcc331d49d05a6dc7729ee08071e4c6408..02ac8d7a5ddbd0694b46cc5133e82eb22d935829:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index 578d526224..901615d51e 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -20,6 +20,8 @@ #pragma interface "controlbase.h" #endif +#include "wx/defs.h" + #if wxUSE_CONTROLS #include "wx/window.h" // base class @@ -33,6 +35,8 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr; class WXDLLEXPORT wxControlBase : public wxWindow { public: + wxControlBase() { } + virtual ~wxControlBase(); // Create() function adds the validator parameter @@ -66,6 +70,8 @@ protected: // initialize the common fields of wxCommandEvent void InitCommandEvent(wxCommandEvent& event) const; + + DECLARE_NO_COPY_CLASS(wxControlBase) }; // ----------------------------------------------------------------------------