X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e45770ceb21535986f806d22feda734a0e5ed49..0ce742cf092c9244f27957e308c16f3c2631042d:/include/wx/generic/choicdgg.h diff --git a/include/wx/generic/choicdgg.h b/include/wx/generic/choicdgg.h index 991ea54bb2..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__ @@ -23,7 +23,7 @@ #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 { @@ -79,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: