]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menuitem.cpp
use IMPLEMENT_APP_CONSOLE and not IMPLEMENT_APP for console apps
[wxWidgets.git] / src / motif / menuitem.cpp
index 6fbfb08465f29a1be9985faa51acb7990fa81493..e830c00c13a42eb6efba3d70743fb75b68cc3667 100644 (file)
@@ -284,7 +284,7 @@ void wxMenuItem::DestroyItem(bool full)
                 wxMenuItemDisarmCallback, (XtPointer) this);
         }
     }
-    else if (GetId() == wxID_SEPARATOR)
+    else if (IsSeparator())
     {
         ;      // Nothing