X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/msw/statbox.h diff --git a/include/wx/msw/statbox.h b/include/wx/msw/statbox.h index c6e3cf91ab..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() { } @@ -38,17 +38,19 @@ public: /// Implementation only virtual void GetBordersForSizer(int *borderTop, int *borderOther) const; -protected: - virtual wxSize DoGetBestSize() const; + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; - // choose the default border for this window - virtual wxBorder GetDefaultBorder() const; + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } - virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; +protected: + virtual wxSize DoGetBestSize() const; #ifndef __WXWINCE__ +public: virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); +protected: // return the region with all the windows inside this static box excluded virtual WXHRGN MSWGetRegionWithoutChildren();