From caea98973222b3f02904c276a66ab090c2d7f522 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 30 Oct 2006 19:13:20 +0000 Subject: [PATCH] Replaced SetSizeHints -> SetMinSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/spinctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/spinctrl.cpp b/src/mac/carbon/spinctrl.cpp index 3db287f0a8..a9c852b7a5 100644 --- a/src/mac/carbon/spinctrl.cpp +++ b/src/mac/carbon/spinctrl.cpp @@ -44,7 +44,7 @@ public: m_spin = spin; // remove the default minsize, the spinctrl will have one instead - SetSizeHints(-1,-1); + SetMinSize(wxDefaultSize); } bool ProcessEvent(wxEvent &event) @@ -153,7 +153,7 @@ public: //SetWindowVariant(wxWINDOW_VARIANT_SMALL); // remove the default minsize, the spinctrl will have one instead - SetSizeHints(-1,-1); + SetMinSize(wxDefaultSize); } protected: -- 2.47.2