X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/msw/statbox.h diff --git a/include/wx/msw/statbox.h b/include/wx/msw/statbox.h index 34bf7ccc12..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() { } @@ -40,12 +40,16 @@ 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; } + + virtual wxPoint GetClientAreaOrigin() const; + virtual void DoGetClientSize(int *width, int *height) const; + + 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);