// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "taskbar.h"
#endif
s_inPopup = true;
- bool rval = false;
wxWindow* win;
int x, y;
wxGetMousePosition(&x, &y);
// Work around a WIN32 bug
::SetForegroundWindow ((HWND) win->GetHWND ());
- rval = win->PopupMenu(menu, 0, 0);
+ bool rval = win->PopupMenu(menu, 0, 0);
// Work around a WIN32 bug
::PostMessage ((HWND) win->GetHWND(),WM_NULL,0,0L);