#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"
#include <gdk/gdk.h>
#include <gdk/gdkprivate.h>
gdk_gc_unref( gc );
// Hack alert
- dc.m_window = pizza->bin_window;
+ wx_static_cast(wxClientDCImpl *, dc.GetImpl())->m_window = pizza->bin_window;
dc.SetTextForeground( *wxWHITE );
dc.DrawText( win->GetTitle(), 6, 3 );
}
gdk_gc_unref( gc );
// Hack alert
- dc.m_window = pizza->bin_window;
+ wx_static_cast(wxClientDCImpl *, dc.GetImpl())->m_window = pizza->bin_window;
dc.SetTextForeground( *wxWHITE );
dc.DrawText( win->GetTitle(), 6, 3 );
}