]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
Committing in .
[wxWidgets.git] / src / gtk / window.cpp
index 4630c80600a237a5d655d888fa43c0fdba8536a0..bad1ac7648dc2979e3853ff25e6360699017729e 100644 (file)
@@ -3263,7 +3263,7 @@ void wxWindowGTK::SetFocus()
         }
     }
 
-    (void)DoSendFocusEvents(this);
+    (void)DoSendFocusEvents((wxWindow*)this);
 }
 
 bool wxWindowGTK::AcceptsFocus() const
@@ -3485,7 +3485,7 @@ void wxWindowGTK::GtkSendPaintEvents()
         while (parent && !parent->IsTopLevel())
             parent = parent->GetParent();
         if (!parent)
-            parent = this;
+            parent = (wxWindow*)this;
     
         wxRegionIterator upd( m_updateRegion );
         while (upd)