OS/2 PM Fixeups for fonts, validators, and html
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -80,7 +80,13 @@ bool wxListBox::Create(wxWindow *parent,
|
||||
const wxSize& size,
|
||||
int n, const wxString choices[],
|
||||
long style,
|
||||
#if wxUSE_VALIDATORS
|
||||
# if defined(__VISAGECPP__)
|
||||
const wxValidator* validator,
|
||||
# else
|
||||
const wxValidator& validator,
|
||||
# endif
|
||||
#endif
|
||||
const wxString& name)
|
||||
{
|
||||
m_noItems = 0;
|
||||
@@ -88,7 +94,9 @@ bool wxListBox::Create(wxWindow *parent,
|
||||
m_selected = 0;
|
||||
|
||||
SetName(name);
|
||||
#if wxUSE_VALIDATORS
|
||||
SetValidator(validator);
|
||||
#endif
|
||||
|
||||
if (parent)
|
||||
parent->AddChild(this);
|
||||
|
Reference in New Issue
Block a user