]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/slider.cpp
changed the button container from wxPanel to wxWindow
[wxWidgets.git] / src / mac / carbon / 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" ) ;