int style = win->GetWindowStyle();
wxClientDC dc(win);
+
+#if wxUSE_NEW_DC
+ wxImplDC *impl = dc.GetImpl();
+ wxGTKClientImplDC *client_impl = wxDynamicCast( impl, wxGTKClientImplDC );
+ // Hack alert
+ client_impl->m_window = pizza->bin_window;
+#else
// Hack alert
dc.m_window = pizza->bin_window;
+#endif
if (style & wxRESIZE_BORDER)
{
const wxPoint &pos, const wxSize &size,
long style, const wxString &name )
{
- style = style | wxCAPTION;
-
if ((style & wxCAPTION) || (style & wxTINY_CAPTION_HORIZ) || (style & wxTINY_CAPTION_VERT))
m_miniTitle = 16;