Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
(Watcom compiler doesn't like ctor implementation in headers) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -213,6 +213,25 @@ IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
|
||||
// wxComboControl creation
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
wxComboControl::wxComboControl()
|
||||
{
|
||||
Init();
|
||||
}
|
||||
|
||||
wxComboControl::wxComboControl(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
long style,
|
||||
const wxValidator& validator,
|
||||
const wxString& name)
|
||||
{
|
||||
Init();
|
||||
|
||||
(void)Create(parent, id, value, pos, size, style, validator, name);
|
||||
}
|
||||
|
||||
void wxComboControl::Init()
|
||||
{
|
||||
m_popup = (wxComboPopup *)NULL;
|
||||
@@ -652,6 +671,28 @@ wxSize wxComboListBox::DoGetBestClientSize() const
|
||||
// wxComboBox
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
wxComboBox::wxComboBox()
|
||||
{
|
||||
Init();
|
||||
}
|
||||
|
||||
wxComboBox::wxComboBox(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
int n,
|
||||
const wxString *choices,
|
||||
long style,
|
||||
const wxValidator& validator,
|
||||
const wxString& name)
|
||||
{
|
||||
Init();
|
||||
|
||||
(void)Create(parent, id, value, pos, size, n, choices,
|
||||
style, validator, name);
|
||||
}
|
||||
|
||||
void wxComboBox::Init()
|
||||
{
|
||||
m_lbox = (wxListBox *)NULL;
|
||||
|
Reference in New Issue
Block a user