X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd507486e07b742bb7acb118811efd60ee027859..9802983f157c32177e92e8c0f6b1ce44aec0ebca:/include/wx/stattext.h diff --git a/include/wx/stattext.h b/include/wx/stattext.h index 525ad9eb8d..ae85c17dad 100644 --- a/include/wx/stattext.h +++ b/include/wx/stattext.h @@ -5,7 +5,7 @@ #include "wx/control.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxStaticTextNameStr; +extern WXDLLEXPORT_DATA(const wxChar*) wxStaticTextNameStr; class WXDLLEXPORT wxStaticTextBase : public wxControl { @@ -14,7 +14,7 @@ public: // overriden base virtuals virtual bool AcceptsFocus() const { return false; } - virtual bool CanApplyParentThemeBackground() const { return true; } + virtual bool HasTransparentBackground() { return true; } private: DECLARE_NO_COPY_CLASS(wxStaticTextBase) @@ -34,6 +34,8 @@ private: #include "wx/cocoa/stattext.h" #elif defined(__WXPM__) #include "wx/os2/stattext.h" +#elif defined(__WXPALMOS__) + #include "wx/palmos/stattext.h" #endif #endif // wxUSE_STATTEXT