]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/menucmn.cpp
Added wxHtmlPrintout::AddFilter so the same filters used for
[wxWidgets.git] / src / common / menucmn.cpp
index 5e9ea0f289ebca4f233ed53186fcb20cf7cc297b..865d668be2f4e50619e4f53d47c6a594227ea4e4 100644 (file)
@@ -285,10 +285,6 @@ void wxMenuBase::Init(long style)
     m_style = style;
     m_clientData = (void *)NULL;
     m_eventHandler = this;
-
-#if wxUSE_MENU_CALLBACK
-    m_callback = (wxFunction) NULL;
-#endif // wxUSE_MENU_CALLBACK
 }
 
 wxMenuBase::~wxMenuBase()
@@ -584,15 +580,6 @@ bool wxMenuBase::SendEvent(int id, int checked)
 
     bool processed = FALSE;
 
-#if wxUSE_MENU_CALLBACK
-    // Try a callback
-    if (m_callback)
-    {
-        (void)(*(m_callback))(*this, event);
-        processed = TRUE;
-    }
-#endif // wxUSE_MENU_CALLBACK
-
     // Try the menu's event handler
     if ( !processed )
     {