X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/716e96df2b2beb65074744a6d833794b1c8a5790..efe66bbc0e9f463a6dd3ad49717474dd801bebf3:/include/wx/window.h?ds=sidebyside diff --git a/include/wx/window.h b/include/wx/window.h index eeb5f98656..f1eed002ac 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;