Patch 1484416.
Igor Korot
ikorot at earthlink.net
Tue Oct 3 23:44:03 PDT 2006
Hi, ALL,
I finally have time to figure this one out... ;-)
Here is the small patch that makes GTK behave as MSW:
--- wxWidgets.orig/src/gtk/window.cpp 2006-09-28 11:31:13.000000000 -0700
+++ wxWidgets.patch/src/gtk/window.cpp 2006-10-03 23:19:23.000000000 -0700
@@ -1471,7 +1471,10 @@
GdkEventButton *gdk_event,
wxWindowGTK *win )
{
+ if( !( win->IsKindOf( CLASSINFO( wxToolBar ) ) ) )
+ {
wxCOMMON_CALLBACK_PROLOGUE(gdk_event, win);
+ }
if (win->m_wxwindow && (g_focusWindow != win) && win->AcceptsFocus())
{
I don't know, if it's possible to re-instate the patch, and it's so small.
Thank you in advance.
More information about the wx-dev
mailing list