X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..44a007122460fd4967021656a30dbf85161fc53f:/include/wx/msw/statbox.h?ds=sidebyside diff --git a/include/wx/msw/statbox.h b/include/wx/msw/statbox.h index 34bf7ccc12..27180f2c1e 100644 --- a/include/wx/msw/statbox.h +++ b/include/wx/msw/statbox.h @@ -13,7 +13,7 @@ #define _WX_MSW_STATBOX_H_ // Group box -class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase +class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase { public: wxStaticBox() { } @@ -40,12 +40,12 @@ public: virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } + protected: virtual wxSize DoGetBestSize() const; - // choose the default border for this window - virtual wxBorder GetDefaultBorder() const; - #ifndef __WXWINCE__ public: virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);