]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/slider_osx.cpp
Update version to 2.9.4 in version.bkl too and rebake everything.
[wxWidgets.git] / src / osx / slider_osx.cpp
index dffe5eb2d2241bccf2e5d343a74206c0f9aedd7e..b3065758422e80205eb3c67c496591d0640b49ae 100644 (file)
@@ -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;