gtk_container_add( GTK_CONTAINER(m_widget), m_mainWidget );
// m_wxwindow is the client area
- m_wxwindow = gtk_pizza_new_no_scroll();
+ m_wxwindow = wxPizza::New();
gtk_widget_show( m_wxwindow );
gtk_container_add( GTK_CONTAINER(m_mainWidget), m_wxwindow );
{
wxCHECK_RET( m_widget, wxT("invalid frame") );
- // this shouldn't happen: wxFrame, wxMDIParentFrame and wxMDIChildFrame have m_wxwindow
- wxASSERT_MSG( (m_wxwindow != NULL), wxT("invalid frame") );
-
-
// deal with the position first
int old_x = m_x;
int old_y = m_y;
GdkWindow *window = NULL;
if (m_wxwindow)
{
- window = GTK_PIZZA(m_wxwindow)->bin_window;
- do_shape_combine_region(window, region);
+ do_shape_combine_region(m_wxwindow->window, region);
}
window = m_widget->window;
return do_shape_combine_region(window, region);