X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/257bf51016686d1ef0a4dfe7228ab5ea65b85887..284b4c8866ab36694b6ec2a308690bba4db4fed2:/include/wx/generic/choicdgg.h diff --git a/include/wx/generic/choicdgg.h b/include/wx/generic/choicdgg.h index 945b699ed1..017ec2a43b 100644 --- a/include/wx/generic/choicdgg.h +++ b/include/wx/generic/choicdgg.h @@ -6,7 +6,7 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __CHOICEDLGH_G__ @@ -18,11 +18,12 @@ #include "wx/setup.h" #include "wx/dialog.h" +#include "wx/listbox.h" #define wxCHOICE_HEIGHT 150 #define wxCHOICE_WIDTH 200 -#define wxCHOICEDLG_STYLE (wxOK | wxCANCEL | wxCENTRE) +#define wxCHOICEDLG_STYLE (wxDEFAULT_DIALOG_STYLE|wxOK | wxCANCEL | wxCENTRE) class WXDLLEXPORT wxSingleChoiceDialog: public wxDialog { @@ -78,10 +79,9 @@ public: void OnListBoxDClick(wxCommandEvent& event); protected: - long m_dialogStyle; int m_selection; + int m_dialogStyle; wxString m_stringSelection; - void *m_clientData; wxListBox *m_listbox; private: