Kali
26-12-2007 20:17:12
If you pass by reference, you need to create a variable to refer to.
Index: QuickGUI/src/QuickGUIManager.cpp
===================================================================
--- QuickGUI/src/QuickGUIManager.cpp (revision 306)
+++ QuickGUI/src/QuickGUIManager.cpp (working copy)
@@ -736,7 +736,8 @@
mActiveSheet = s;
// Make sure active widget loses focus.
- mActiveWidget->fireEvent(Widget::EVENT_LOSE_FOCUS,EventArgs());
+ EventArgs eventargs;
+ mActiveWidget->fireEvent(Widget::EVENT_LOSE_FOCUS, eventargs);
// Make sure mouse over widget has mouse leave event.
MouseEventArgs args(mWidgetContainingMouse);