X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..c0b0635cf69537ca32377bad5650b39402cb21b6:/src/univ/control.cpp diff --git a/src/univ/control.cpp b/src/univ/control.cpp index 9c7c0c7bfc..2b31850db1 100644 --- a/src/univ/control.cpp +++ b/src/univ/control.cpp @@ -55,24 +55,6 @@ WX_FORWARD_TO_INPUT_CONSUMER(wxControl) // creation // ---------------------------------------------------------------------------- -wxControl::wxControl() -{ - Init(); -} - -wxControl::wxControl(wxWindow *parent, - wxWindowID id, - const wxPoint& pos, - const wxSize& size, - long style, - const wxValidator& validator, - const wxString& name) -{ - Init(); - - Create(parent, id, pos, size, style, validator, name); -} - void wxControl::Init() { m_indexAccel = -1; @@ -91,10 +73,10 @@ bool wxControl::Create(wxWindow *parent, if ( !wxControlBase::Create(parent, id, pos, size, style, validator, name) ) { // underlying window creation failed? - return FALSE; + return false; } - return TRUE; + return true; } // ----------------------------------------------------------------------------