]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statlmac.cpp
scaling for 24x24 and 64x64 sizes
[wxWidgets.git] / src / mac / carbon / statlmac.cpp
index 92d31f27e27f168036cc36d5d9463b952802d3aa..1b47d345d67e39e0bfb15d2a54868a8052ff9195 100644 (file)
@@ -56,7 +56,7 @@ bool wxStaticLine::Create( wxWindow *parent,
         return false;
 
     Rect bounds = wxMacGetBoundsForControl( this , pos , size ) ;
-    m_peer = new wxMacControl() ;
+    m_peer = new wxMacControl(this) ;
     verify_noerr(CreateSeparatorControl(MAC_WXHWND(parent->MacGetTopLevelWindowRef()),&bounds, m_peer->GetControlRefAddr() ) ) ;  
 
     MacPostControlCreate(pos,size) ;