From: Mattia Barbon Date: Sat, 8 May 2004 19:56:40 +0000 (+0000) Subject: wxX11 compilation fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/11e720751c4645c7e7fbe298640ac72a60fb8a2b wxX11 compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/display.h b/include/wx/display.h index 835a233b23..083ae2b954 100644 --- a/include/wx/display.h +++ b/include/wx/display.h @@ -109,6 +109,8 @@ protected: #include "wx/unix/displayx11.h" #elif defined(__WXGTK__) #include "wx/unix/displayx11.h" +#elif defined(__WXX11__) + #include "wx/unix/displayx11.h" #elif defined(__WXMAC__) #include "wx/mac/display.h" #elif defined(__WXPM__) diff --git a/include/wx/x11/window.h b/include/wx/x11/window.h index ce7fe96831..057961575f 100644 --- a/include/wx/x11/window.h +++ b/include/wx/x11/window.h @@ -85,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