X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76c32e7b97bbd5d0c809dd59cba2926be016f7af..d0960f6d3be27a47c2f4ba14542af6902c7e9ac7:/src/gtk1/minifram.cpp?ds=inline diff --git a/src/gtk1/minifram.cpp b/src/gtk1/minifram.cpp index 568e6436ad..4b1572b05c 100644 --- a/src/gtk1/minifram.cpp +++ b/src/gtk1/minifram.cpp @@ -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(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(dc.GetImpl())->m_window = pizza->bin_window; dc.SetTextForeground( *wxWHITE ); dc.DrawText( win->GetTitle(), 6, 3 ); }