X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10d302224e3555520f3e3c29d4dc7b7a9654b295..564c7fc4127c39472b32f80b32733eb6e3ade59c:/src/gtk1/minifram.cpp diff --git a/src/gtk1/minifram.cpp b/src/gtk1/minifram.cpp index f0ad104fea..4b1572b05c 100644 --- a/src/gtk1/minifram.cpp +++ b/src/gtk1/minifram.cpp @@ -19,6 +19,7 @@ #endif #include "gtk/gtk.h" +#include "wx/dcclient.h" #include "wx/gtk1/win_gtk.h" #include "wx/gtk1/private.h" #include "wx/gtk1/dcclient.h" @@ -104,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 ); } @@ -150,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 ); }