]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/popupwin.cpp
revert togglable tools to previous state if the change was vetoed by OnLeftClick()
[wxWidgets.git] / src / motif / popupwin.cpp
index b3ce905e525b49226c9a2157d31ca2a696ac0aba..5c59c1a08bf130ee6d3c3eecfd7e2a04aa71518b 100644 (file)
@@ -13,6 +13,9 @@
 #pragma implementation "popup.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/popupwin.h"
 #include "wx/app.h"
 
@@ -26,8 +29,6 @@
 
 #include "wx/motif/private.h"
 
-IMPLEMENT_DYNAMIC_CLASS( wxPopupWindow, wxWindow );
-
 bool wxPopupWindow::Create( wxWindow *parent, int flags )
 {
     if( !wxPopupWindowBase::Create( parent, flags ) )