X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a351409ef2b30f92b933b0f77fbd20a36d7e963a..34f90a1cfe8b9be4451964396b062998a83fc37b:/include/wx/stattext.h diff --git a/include/wx/stattext.h b/include/wx/stattext.h index 97f7f54414..025ca8bb0f 100644 --- a/include/wx/stattext.h +++ b/include/wx/stattext.h @@ -18,7 +18,7 @@ #include "wx/control.h" -extern WXDLLEXPORT_DATA(const wxChar*) wxStaticTextNameStr; +extern WXDLLEXPORT_DATA(const wxChar) wxStaticTextNameStr[]; class WXDLLEXPORT wxStaticTextBase : public wxControl { @@ -49,8 +49,10 @@ private: #include "wx/msw/stattext.h" #elif defined(__WXMOTIF__) #include "wx/motif/stattext.h" -#elif defined(__WXGTK__) +#elif defined(__WXGTK20__) #include "wx/gtk/stattext.h" +#elif defined(__WXGTK__) + #include "wx/gtk1/stattext.h" #elif defined(__WXMAC__) #include "wx/mac/stattext.h" #elif defined(__WXCOCOA__)