wxFrame::Set/GetClientSize() uses toolbar area again,

wxWindow no longer reroutes mouse events to invisble windows,
  Compile fix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-10-24 19:09:50 +00:00
parent 99d967ac6f
commit f96ac56ad3
7 changed files with 37 additions and 17 deletions

View File

@@ -1122,6 +1122,10 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, GdkEventButton
while (node)
{
wxWindow *child = (wxWindow*)node->Data();
node = node->Next();
if (!child->IsShown())
continue;
if (child->m_isStaticBox)
{
@@ -1161,7 +1165,6 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, GdkEventButton
break;
}
}
node = node->Next();
}
}
@@ -1247,6 +1250,10 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto
{
wxWindow *child = (wxWindow*)node->Data();
node = node->Next();
if (!child->IsShown())
continue;
if (child->m_isStaticBox)
{
// wxStaticBox is transparent in the box itself
@@ -1285,7 +1292,6 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto
break;
}
}
node = node->Next();
}
}
@@ -1364,6 +1370,10 @@ static gint gtk_window_motion_notify_callback( GtkWidget *widget, GdkEventMotion
{
wxWindow *child = (wxWindow*)node->Data();
node = node->Next();
if (!child->IsShown())
continue;
if (child->m_isStaticBox)
{
// wxStaticBox is transparent in the box itself
@@ -1402,7 +1412,6 @@ static gint gtk_window_motion_notify_callback( GtkWidget *widget, GdkEventMotion
break;
}
}
node = node->Next();
}
}