X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..cd2e8564d7ca31209289d32a0e503292db1a4b65:/src/univ/control.cpp diff --git a/src/univ/control.cpp b/src/univ/control.cpp index 9c7c0c7bfc..1cf171e97a 100644 --- a/src/univ/control.cpp +++ b/src/univ/control.cpp @@ -13,10 +13,6 @@ // declarations // ============================================================================ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "control.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -55,24 +51,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 +69,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; } // ----------------------------------------------------------------------------