More wxMotif work, OGL enhancements, USE_ macro corrections, object.cpp delete
operator correction for VC++ 6 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,7 +38,8 @@ class WXDLLEXPORT wxListBox: public wxControl
|
||||
int n = 0, const wxString choices[] = NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxListBoxNameStr)
|
||||
const wxString& name = wxListBoxNameStr):
|
||||
m_clientDataList(wxKEY_INTEGER)
|
||||
{
|
||||
Create(parent, id, pos, size, n, choices, style, validator, name);
|
||||
}
|
||||
@@ -88,9 +89,15 @@ class WXDLLEXPORT wxListBox: public wxControl
|
||||
|
||||
void Command(wxCommandEvent& event);
|
||||
|
||||
protected:
|
||||
protected:
|
||||
int m_noItems;
|
||||
int m_selected;
|
||||
|
||||
// List mapping positions->client data
|
||||
wxList m_clientDataList;
|
||||
|
||||
public:
|
||||
bool m_inSetValue;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user