X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..84d1cd430f9f4cba81737a45cd40fdb7cbac4f7d:/include/wx/choice.h diff --git a/include/wx/choice.h b/include/wx/choice.h index a594dba58e..63f3267936 100644 --- a/include/wx/choice.h +++ b/include/wx/choice.h @@ -26,7 +26,7 @@ // global data // ---------------------------------------------------------------------------- -extern WXDLLEXPORT_DATA(const wxChar*) wxChoiceNameStr; +extern WXDLLEXPORT_DATA(const wxChar) wxChoiceNameStr[]; // ---------------------------------------------------------------------------- // wxChoice allows to select one of a non-modifiable list of strings @@ -64,8 +64,10 @@ private: #include "wx/msw/choice.h" #elif defined(__WXMOTIF__) #include "wx/motif/choice.h" -#elif defined(__WXGTK__) +#elif defined(__WXGTK20__) #include "wx/gtk/choice.h" +#elif defined(__WXGTK__) + #include "wx/gtk1/choice.h" #elif defined(__WXMAC__) #include "wx/mac/choice.h" #elif defined(__WXCOCOA__)