use #if WXWIN_COMPAT and not #ifdef (patch 826160)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -170,7 +170,7 @@ public:
|
||||
// if you are hiding the help, TRUE otherwise
|
||||
virtual void DoGiveHelp(const wxString& text, bool show);
|
||||
|
||||
#ifdef WXWIN_COMPATIBILITY_2_2
|
||||
#if WXWIN_COMPATIBILITY_2_2
|
||||
// call this to simulate a menu command
|
||||
bool Command(int winid) { return ProcessCommand(winid); }
|
||||
#endif // WXWIN_COMPATIBILITY_2_2
|
||||
|
Reference in New Issue
Block a user