use wxWindowBase::Create() instead of duplicating its code in MacPreControlCreate()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-08-18 23:57:34 +00:00
parent 40fa47e0d3
commit b45ed7a273
36 changed files with 158 additions and 90 deletions

View File

@@ -38,6 +38,10 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id,
long style,
const wxString& name)
{
if ( !wxControl::Create(parent, id, pos, size,
style, wxDefaultValidator, name) )
return false;
Rect bounds ;
Str255 title ;