]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/slider.cpp
don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
[wxWidgets.git] / src / mac / slider.cpp
index 53ad11814ee2ff5746955cdec3b62a8f65f7afe1..459a15c76b7820119de7b3058bbf0837044c8dbe 100644 (file)
@@ -84,7 +84,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
     }
   
 
-     m_macControl = UMANewControl( parent->GetMacRootWindow(), &bounds, title, false,
+     m_macControl = ::NewControl( parent->GetMacRootWindow(), &bounds, title, false,
                                    value, minValue, maxValue, procID, (long) this);
  
      wxASSERT_MSG( m_macControl != NULL , "No valid mac control" ) ;