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:
Vadim Zeitlin
2003-10-18 23:22:11 +00:00
parent f75aecd00f
commit 45bbbc5430
7 changed files with 15 additions and 15 deletions

View File

@@ -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