]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/window.cpp
mentioned the new doc format
[wxWidgets.git] / src / osx / carbon / window.cpp
index 1c93cfa2ca5c9fa63f6f32d5de45042379a2a266..39ed9fe0bfbbe095167029e5f7390ddf5280cd8d 100644 (file)
@@ -288,7 +288,7 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl
 #endif
 
                     wxLogTrace(_T("Focus"), _T("focus lost(%p)"), wx_static_cast(void*, thisWindow));
-
+                    
                     // remove this as soon as posting the synthesized event works properly
                     static bool inKillFocusEvent = false ;
 
@@ -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 )