#ifdefed out a typedef not appropriate to MSW; added SetSelection to choice dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4075e9a407
commit
ef77f91e5b
4 changed files with 26 additions and 9 deletions
|
|
@ -39,6 +39,7 @@ public:
|
|||
bool Create(wxWindow *parent, const wxString& message, const wxString& caption,
|
||||
const wxStringList& choices, char **clientData = NULL, long style = wxOK|wxCANCEL|wxCENTRE, const wxPoint& pos = wxDefaultPosition);
|
||||
|
||||
void SetSelection(int sel) ;
|
||||
inline int GetSelection(void) const { return m_selection; }
|
||||
inline wxString GetStringSelection(void) const { return m_stringSelection; }
|
||||
inline char *GetSelectionClientData(void) const { return m_clientData; }
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@ class WXDLLEXPORT wxGenericColourDialog: public wxDialog
|
|||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
#ifdef __GTK__
|
||||
typedef wxGenericColourDialog wxColourDialog;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue