X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..20e6714a67e1188b9bbb8ca2bc0fb6321e2864fc:/include/wx/univ/window.h?ds=sidebyside diff --git a/include/wx/univ/window.h b/include/wx/univ/window.h index 1dc43df024..c8b8444d8a 100644 --- a/include/wx/univ/window.h +++ b/include/wx/univ/window.h @@ -44,8 +44,6 @@ class WXDLLIMPEXP_FWD_CORE wxRenderer; #define wxWindowNative wxWindowMSW #elif defined(__WXGTK__) #define wxWindowNative wxWindowGTK -#elif defined(__WXMGL__) -#define wxWindowNative wxWindowMGL #elif defined(__WXX11__) #define wxWindowNative wxWindowX11 #elif defined(__WXMAC__) @@ -237,11 +235,8 @@ protected: // draw the controls contents virtual void DoDraw(wxControlRenderer *renderer); - // calculate the best size for the client area of the window: default - // implementation of DoGetBestSize() uses this method and adds the border - // width to the result - 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;