]> git.saurik.com Git - wxWidgets.git/commitdiff
adding missing cast
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 11 Oct 2008 06:00:17 +0000 (06:00 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 11 Oct 2008 06:00:17 +0000 (06:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/window.cpp

index 1c93cfa2ca5c9fa63f6f32d5de45042379a2a266..084f7b7d6d25cd6660feb2d953feb0a931605035 100644 (file)
@@ -849,7 +849,7 @@ void wxMacControl::RemoveFromParent()
 
 void wxMacControl::Embed( wxWidgetImpl *parent )
 {
-    HIViewAddSubview(parent->GetWXWidget(), m_controlRef);
+    HIViewAddSubview((ControlRef)parent->GetWXWidget(), m_controlRef);
 }
 
 void wxMacControl::SetNeedsDisplay( const wxRect* rect )