]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/minifram.cpp
fix wxPowerEvent, wxRichTextEvent and wxWizardEvent so that they pass the runtime...
[wxWidgets.git] / src / gtk1 / minifram.cpp
index 568e6436ad7db5132f7e1fba286674d91763c0e9..4b1572b05cd55aa2482e3eea63b478a240a27613 100644 (file)
@@ -105,7 +105,7 @@ static void gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *g
         gdk_gc_unref( gc );
 
         // Hack alert
-        wx_static_cast(wxClientDCImpl *, dc.GetImpl())->m_window = pizza->bin_window;
+        static_cast<wxClientDCImpl *>(dc.GetImpl())->m_window = pizza->bin_window;
         dc.SetTextForeground( *wxWHITE );
         dc.DrawText( win->GetTitle(), 6, 3 );
     }
@@ -151,7 +151,7 @@ static void gtk_window_own_draw_callback( GtkWidget *widget, GdkRectangle *WXUNU
         gdk_gc_unref( gc );
 
         // Hack alert
-        wx_static_cast(wxClientDCImpl *, dc.GetImpl())->m_window = pizza->bin_window;
+        static_cast<wxClientDCImpl *>(dc.GetImpl())->m_window = pizza->bin_window;
         dc.SetTextForeground( *wxWHITE );
         dc.DrawText( win->GetTitle(), 6, 3 );
     }