moved common code from ctor and Create() to a separate Init() function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-11-28 22:33:23 +00:00
parent 6a8158088f
commit cf65ad8db9
2 changed files with 15 additions and 13 deletions

View File

@@ -96,6 +96,7 @@ public:
long style = 0,
const wxString& name = wxPanelNameStr)
{
Init();
Create(parent, id, pos, size, style, name);
}