X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..dcc19b5b38ee397de186d3d181705a9ad7e3447d:/include/wx/x11/window.h diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index df8d37553f..057961575f 100644 --- a/include/wx/x11/window.h +++ b/include/wx/x11/window.h @@ -64,8 +64,6 @@ public: const wxRect *rect = (const wxRect *) NULL ); virtual void Update(); - virtual void Clear(); - virtual bool SetBackgroundColour( const wxColour &colour ); virtual bool SetForegroundColour( const wxColour &colour ); @@ -87,6 +85,10 @@ public: virtual void SetSizeHints(int minW, int minH, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1); + void SetSizeHints( const wxSize& minSize, + const wxSize& maxSize=wxDefaultSize, + const wxSize& incSize=wxDefaultSize) + { wxWindowBase::SetSizeHints(minSize, maxSize, incSize); } #if wxUSE_DRAG_AND_DROP virtual void SetDropTarget( wxDropTarget *dropTarget ); #endif // wxUSE_DRAG_AND_DROP