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:
@@ -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 );
|
||||
|
||||
|
Reference in New Issue
Block a user