]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
these files are not used any more
[wxWidgets.git] / src / motif / frame.cpp
index 264204fb1bf57243ba366fd4e72d659d5c8c05fb..98682e8b99defa62b39391b4477aae73f1b5cb21 100644 (file)
@@ -869,7 +869,9 @@ void wxFrame::ProcessCommand(int id)
   }
 */
 
-  GetEventHandler()->ProcessEvent(commandEvent);
+  wxEvtHandler* evtHandler = GetEventHandler();
+
+  evtHandler->ProcessEvent(commandEvent);
 }
 
 // Checks if there is a toolbar, and returns the first free client position