From: Vadim Zeitlin Date: Fri, 31 Oct 2003 13:26:59 +0000 (+0000) Subject: removed InitBase() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/06f6df7d4657582a637ac79f3452b61b1cbb10cc removed InitBase() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/window.h b/include/wx/window.h index eeb5f98656..fae09c7ec0 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -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;