backported patch 762500 (don't eas 100% of CPU when showing popup menu)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -245,6 +245,7 @@ wxGTK:
|
||||
- implemented wxTextCtrl::Remove/Replace() for GTK2
|
||||
- improved X11 ShowFullScreen
|
||||
- added support for GTK2 label mnemonics
|
||||
- don't consume 100% CPU when showing a poup menu
|
||||
|
||||
wxMSW:
|
||||
|
||||
|
@@ -4239,7 +4239,6 @@ bool wxWindowGTK::DoPopupMenu( wxMenu *menu, int x, int y )
|
||||
|
||||
while (is_waiting)
|
||||
{
|
||||
while (gtk_events_pending())
|
||||
gtk_main_iteration();
|
||||
}
|
||||
|
||||
|
@@ -4239,7 +4239,6 @@ bool wxWindowGTK::DoPopupMenu( wxMenu *menu, int x, int y )
|
||||
|
||||
while (is_waiting)
|
||||
{
|
||||
while (gtk_events_pending())
|
||||
gtk_main_iteration();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user