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:
@@ -29,6 +29,9 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
|
||||
const wxValidator& validator,
|
||||
const wxString& name)
|
||||
{
|
||||
if ( !wxGaugeBase::Create(parent, id, range, pos, s, style, validator, name) )
|
||||
return false;
|
||||
|
||||
wxSize size = s ;
|
||||
Rect bounds ;
|
||||
Str255 title ;
|
||||
|
||||
Reference in New Issue
Block a user