git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4289
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// MSW-specific
bool ProcessCommand(wxCommandEvent& event);
// MSW-specific
bool ProcessCommand(wxCommandEvent& event);
-#ifdef WXWIN_COMPATIBILITY
wxMenu(const wxString& title, const wxFunction func)
: wxMenuBase(title)
{
wxMenu(const wxString& title, const wxFunction func)
: wxMenuBase(title)
{
virtual wxString GetLabelTop( size_t pos ) const;
// compatibility: these functions are deprecated
virtual wxString GetLabelTop( size_t pos ) const;
// compatibility: these functions are deprecated
-#ifdef WXWIN_COMPATIBILITY
void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
wxEvtHandler *GetEventHandler() { return m_eventHandler; }
void SetEventHandler(wxEvtHandler *handler) { m_eventHandler = handler; }
wxEvtHandler *GetEventHandler() { return m_eventHandler; }
// common part of all ctors
void Init();
// common part of all ctors
void Init();
-#ifdef WXWIN_COMPATIBILITY
wxEvtHandler *m_eventHandler;
#endif // WXWIN_COMPATIBILITY
wxEvtHandler *m_eventHandler;
#endif // WXWIN_COMPATIBILITY