X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22756322824e8f377b792897209d052ca9281534..f239a20092359e3c914adb79bd39f3f5d2b2e06f:/src/osx/slider_osx.cpp?ds=inline diff --git a/src/osx/slider_osx.cpp b/src/osx/slider_osx.cpp index dffe5eb2d2..b306575842 100644 --- a/src/osx/slider_osx.cpp +++ b/src/osx/slider_osx.cpp @@ -57,9 +57,9 @@ bool wxSlider::Create(wxWindow *parent, const wxSize& size, long style, const wxValidator& validator, const wxString& name) -{ - m_macIsUserPane = false; - +{ + DontCreatePeer(); + m_macMinimumStatic = NULL; m_macMaximumStatic = NULL; m_macValueStatic = NULL;