X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a351409ef2b30f92b933b0f77fbd20a36d7e963a..fd587c7a5e2424a3a29012ac3efa6fff84dba035:/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__)