allow size event for windows without scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2284,8 +2284,6 @@ void gtk_window_size_callback( GtkWidget *WXUNUSED(widget),
|
|||||||
if (g_isIdle)
|
if (g_isIdle)
|
||||||
wxapp_install_idle_handler();
|
wxapp_install_idle_handler();
|
||||||
|
|
||||||
if (!win->m_hasScrolling) return;
|
|
||||||
|
|
||||||
int client_width = 0;
|
int client_width = 0;
|
||||||
int client_height = 0;
|
int client_height = 0;
|
||||||
win->GetClientSize( &client_width, &client_height );
|
win->GetClientSize( &client_width, &client_height );
|
||||||
|
Reference in New Issue
Block a user