]> git.saurik.com Git - wxWidgets.git/commitdiff
removed InitBase()
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 Oct 2003 13:26:59 +0000 (13:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 Oct 2003 13:26:59 +0000 (13:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/window.h

index eeb5f986563f83c72dc647725e1280dcf7a05e49..fae09c7ec06746a4b84543ea60d1e347f8e42fdc 100644 (file)
@@ -102,8 +102,9 @@ public:
     // creating the window
     // -------------------
 
-        // default ctor
-    wxWindowBase() { InitBase(); }
+        // default ctor, initializes everything which can be initialized before
+        // Create()
+    wxWindowBase();
 
         // pseudo ctor (can't be virtual, called from ctor)
     bool CreateBase(wxWindowBase *parent,
@@ -1026,10 +1027,6 @@ protected:
     int                   m_maxVirtualWidth;
     int                   m_maxVirtualHeight;
 
-    // common part of all ctors: it is not virtual because it is called from
-    // ctor
-    void InitBase();
-
     // override this to change the default (i.e. used when no style is
     // specified) border for the window class
     virtual wxBorder GetDefaultBorder() const;