reverted patch 598016 (removed MSWCreateControl() visible parameter)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -326,7 +326,7 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
|
||||
|
||||
|
||||
// and now create the MSW control
|
||||
if ( !MSWCreateControl(_T("COMBOBOX"), msStyle, pos, size, wxEmptyString, (WXDWORD)-1, false) )
|
||||
if ( !MSWCreateControl(_T("COMBOBOX"), msStyle) )
|
||||
return FALSE;
|
||||
|
||||
// A choice/combobox normally has a white background (or other, depending
|
||||
@@ -360,9 +360,6 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
|
||||
);
|
||||
}
|
||||
|
||||
// finally, show the combo box
|
||||
Show(true);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user