diff options
author | nyamatongwe <devnull@localhost> | 2005-04-11 06:06:35 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-04-11 06:06:35 +0000 |
commit | 70ffb5030a502c1faddc3875c565a95ccb93f9f5 (patch) | |
tree | 968e3a84dac954a340bd67e4b1460f11d62a2057 | |
parent | abb64652a810c65daaa0f49bb9ac12092c258d9a (diff) | |
download | scintilla-mirror-70ffb5030a502c1faddc3875c565a95ccb93f9f5.tar.gz |
Fixed 1179713 by masking message box styles before comparison.
-rw-r--r-- | gtk/PlatGTK.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 9ba18a8ce..e7dab2327 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -2343,7 +2343,8 @@ void Menu::Show(Point pt, Window &) { if ((pt.y + requisition.height) > screenHeight) { pt.y = screenHeight - requisition.height; } - gtk_item_factory_popup(factory, pt.x - 4, pt.y, 3, 0); + gtk_item_factory_popup(factory, pt.x - 4, pt.y - 4, 3, + gtk_get_current_event_time()); } ElapsedTime::ElapsedTime() { |