Correct area from where to start dragging the window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-11-07 10:23:21 +00:00
parent d1bd2fd468
commit 365a5b20e9

View File

@@ -167,12 +167,7 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, GdkEventButton
}
}
wxClientDC dc(win);
dc.SetFont( *wxSMALL_FONT );
int height = dc.GetCharHeight() + 1;
if (y > height) return TRUE;
if (y > win->m_miniEdge-1 + 15) return TRUE;
gdk_window_raise( win->m_widget->window );