Added a fix to taskbar; minor mods to help controllers; added justification
options to wxButton and wxBitmapButton git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -182,8 +182,14 @@ bool wxTaskBarIcon::PopupMenu(wxMenu *menu) //, int x, int y);
|
||||
|
||||
menu->UpdateUI();
|
||||
|
||||
// Work around a WIN32 bug
|
||||
::SetForegroundWindow ((HWND) win->GetHWND ());
|
||||
|
||||
rval = win->PopupMenu(menu, 0, 0);
|
||||
|
||||
// Work around a WIN32 bug
|
||||
::PostMessage ((HWND) win->GetHWND(),WM_NULL,0,0L);
|
||||
|
||||
win->PopEventHandler(FALSE);
|
||||
win->Destroy();
|
||||
delete win;
|
||||
|
||||
Reference in New Issue
Block a user