]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/control.cpp
removed src/gtk/eggtrayicon.h
[wxWidgets.git] / src / univ / control.cpp
index 9c7c0c7bfc6d128e817a8d1424cf073acb236c15..2b31850db1a7dc1ccf25198839337b4e54a869ec 100644 (file)
@@ -55,24 +55,6 @@ WX_FORWARD_TO_INPUT_CONSUMER(wxControl)
 // creation
 // ----------------------------------------------------------------------------
 
 // 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;
 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?
     if ( !wxControlBase::Create(parent, id, pos, size, style, validator, name) )
     {
         // underlying window creation failed?
-        return FALSE;
+        return false;
     }
 
     }
 
-    return TRUE;
+    return true;
 }
 
 // ----------------------------------------------------------------------------
 }
 
 // ----------------------------------------------------------------------------