projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8a1c57
)
pass proper window to gdk_window_get_pointer(), NULL does not work with GTK3
author
Paul Cornett
<paulcor@bullseye.com>
Fri, 12 Aug 2011 05:33:59 +0000
(
05:33
+0000)
committer
Paul Cornett
<paulcor@bullseye.com>
Fri, 12 Aug 2011 05:33:59 +0000
(
05:33
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68646
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/gtk/utilsgtk.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/gtk/utilsgtk.cpp
b/src/gtk/utilsgtk.cpp
index e8d6cf9b441964e632d42c748facb99f02094c99..fee8aa86a2c21ab7e6d3ab2d738df0274d34d157 100644
(file)
--- a/
src/gtk/utilsgtk.cpp
+++ b/
src/gtk/utilsgtk.cpp
@@
-90,7
+90,7
@@
void wxDisplaySizeMM( int *width, int *height )
void wxGetMousePosition( int* x, int* y )
{
- gdk_window_get_pointer(
NULL, x, y, NULL
);
+ gdk_window_get_pointer(
gtk_widget_get_root_window(wxGetRootWindow()), x, y, NULL
);
}
bool wxColourDisplay()