X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..c9ccc09c64f4c29d4667796bef7b507d9e8d25ed:/include/wx/univ/window.h?ds=sidebyside diff --git a/include/wx/univ/window.h b/include/wx/univ/window.h index bb8e81d7c6..d5aa30e4ba 100644 --- a/include/wx/univ/window.h +++ b/include/wx/univ/window.h @@ -52,7 +52,7 @@ class WXDLLIMPEXP_FWD_CORE wxRenderer; #define wxWindowNative wxWindowMac #endif -class WXDLLEXPORT wxWindow : public wxWindowNative +class WXDLLIMPEXP_CORE wxWindow : public wxWindowNative { public: // ctors and create functions @@ -102,7 +102,7 @@ public: virtual int GetScrollThumb(int orient) const; virtual int GetScrollRange(int orient) const; virtual void ScrollWindow(int dx, int dy, - const wxRect* rect = (wxRect *) NULL); + const wxRect* rect = NULL); // take into account the borders here virtual wxPoint GetClientAreaOrigin() const; @@ -243,6 +243,9 @@ protected: virtual wxSize DoGetBestClientSize() const; virtual wxSize DoGetBestSize() const; + // override the base class method to return the size of the window borders + virtual wxSize DoGetBorderSize() const; + // adjust the size of the window to take into account its borders wxSize AdjustSize(const wxSize& size) const;