]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/gauge.cpp
Fixed display issues for Panther now that wxTextCtrl has been fixed there.
[wxWidgets.git] / src / mac / carbon / gauge.cpp
index 9371fb247d26ceb545a6206ecdfda5b74b1c95a9..da6aa40dc0bca4be23000d348f6f7c576938df99 100644 (file)
@@ -44,7 +44,7 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
     Rect bounds = wxMacGetBoundsForControl( this , pos , size ) ;
     m_peer = new wxMacControl() ;
     verify_noerr ( CreateProgressBarControl( MAC_WXHWND(parent->MacGetTopLevelWindowRef()) , &bounds , 
-     GetValue() , 0 , GetRange() , false /* not indeterminate */ , *m_peer ) );
+     GetValue() , 0 , GetRange() , false /* not indeterminate */ , m_peer->GetControlRefAddr() ) );
     
        
     MacPostControlCreate(pos,size) ;