X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..f5fac4471b361f54ae6a09f6047ae4dbe30fcb86:/include/wx/msw/statbox.h diff --git a/include/wx/msw/statbox.h b/include/wx/msw/statbox.h index c6e3cf91ab..15b25cb4e2 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,23 @@ 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 wxPoint GetClientAreaOrigin() const; + virtual void DoGetClientSize(int *width, int *height) const; - 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();