From: Vadim Zeitlin Date: Mon, 2 Jul 2001 10:41:39 +0000 (+0000) Subject: added default values for SetSizeHints() arguments, as in wxMSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4f9db74e9852ca3f4bfe9a13c6dd4ca5f6714946?ds=inline added default values for SetSizeHints() arguments, as in wxMSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/mdi.h b/include/wx/gtk/mdi.h index 46f5992d9f..3dd4ca6530 100644 --- a/include/wx/gtk/mdi.h +++ b/include/wx/gtk/mdi.h @@ -144,9 +144,12 @@ public: #endif // no size hints - virtual void SetSizeHints( int WXUNUSED(minW), int WXUNUSED(minH), - int WXUNUSED(maxW), int WXUNUSED(maxH), - int WXUNUSED(incW), int WXUNUSED(incH) ) {} + virtual void SetSizeHints( int WXUNUSED(minW), + int WXUNUSED(minH), + int WXUNUSED(maxW) = -1, + int WXUNUSED(maxH) = -1, + int WXUNUSED(incW) = -1, + int WXUNUSED(incH) = -1) {} #if wxUSE_TOOLBAR // no toolbar bars diff --git a/include/wx/gtk1/mdi.h b/include/wx/gtk1/mdi.h index 46f5992d9f..3dd4ca6530 100644 --- a/include/wx/gtk1/mdi.h +++ b/include/wx/gtk1/mdi.h @@ -144,9 +144,12 @@ public: #endif // no size hints - virtual void SetSizeHints( int WXUNUSED(minW), int WXUNUSED(minH), - int WXUNUSED(maxW), int WXUNUSED(maxH), - int WXUNUSED(incW), int WXUNUSED(incH) ) {} + virtual void SetSizeHints( int WXUNUSED(minW), + int WXUNUSED(minH), + int WXUNUSED(maxW) = -1, + int WXUNUSED(maxH) = -1, + int WXUNUSED(incW) = -1, + int WXUNUSED(incH) = -1) {} #if wxUSE_TOOLBAR // no toolbar bars