]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/spinbutt.cpp
fixed (rare but fatal) bug in wxWindowDisabler
[wxWidgets.git] / src / mac / spinbutt.cpp
index 5ec5e1b8a2ac19cce1e5f426c08a8259bf042395..944f72dc1011d0c644f103637b94056f4afeeef1 100644 (file)
@@ -128,7 +128,7 @@ void wxSpinButton::MacHandleControlClick( ControlHandle control , SInt16 control
 // size calculation
 // ----------------------------------------------------------------------------
 
-wxSize wxSpinButton::DoGetBestSize()
+wxSize wxSpinButton::DoGetBestSize() const
 {
     if ( (GetWindowStyle() & wxSP_VERTICAL) != 0 )
     {