]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menu.cpp
assert in OnSelected() fixed
[wxWidgets.git] / src / motif / menu.cpp
index 9df03bef8dc74c55607e5bb3bafff1075611db16..23b39e39ba71ea75859b931602d4a10fa1ccc07f 100644 (file)
@@ -162,14 +162,14 @@ bool wxMenu::ProcessCommand(wxCommandEvent & event)
 {
     bool processed = FALSE;
 
-#if WXWIN_COMPATIBILITY
+#if wxUSE_MENU_CALLBACK
     // Try a callback
     if (m_callback)
     {
         (void) (*(m_callback)) (*this, event);
         processed = TRUE;
     }
-#endif // WXWIN_COMPATIBILITY
+#endif // wxUSE_MENU_CALLBACK
 
     // Try the menu's event handler
     if ( !processed && GetEventHandler())
@@ -217,7 +217,7 @@ wxMenuBar::~wxMenuBar()
 void wxMenuBar::EnableTop(size_t WXUNUSED(pos), bool WXUNUSED(flag))
 {
   //    wxFAIL_MSG("TODO");
-  wxLogWarning("wxMenuBar::EnableTop not yet implemented.");
+//  wxLogWarning("wxMenuBar::EnableTop not yet implemented.");
 }
 
 void wxMenuBar::SetLabelTop(size_t pos, const wxString& label)