X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf1dfa16db5bc9df60b30d01ca9892b298be34f..afb6a92feec67d021691e2b2c466378bf3adbf2d:/include/wx/os2/menuitem.h?ds=sidebyside diff --git a/include/wx/os2/menuitem.h b/include/wx/os2/menuitem.h index a0ac01b875..1e9d1d89b8 100644 --- a/include/wx/os2/menuitem.h +++ b/include/wx/os2/menuitem.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: menuitem.h +// Name: wx/os2/menuitem.h // Purpose: wxMenuItem class // Author: Vadim Zeitlin // Modified by: @@ -12,15 +12,11 @@ #ifndef _MENUITEM_H #define _MENUITEM_H -#ifdef __GNUG__ -#pragma interface "menuitem.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#include "wx/setup.h" +#include "wx/defs.h" // an exception to the general rule that a normal header doesn't include other // headers - only because ownerdrw.h is not always included and I don't want @@ -71,8 +67,8 @@ public: virtual void SetText(const wxString& rStrName); virtual void SetCheckable(bool bCheckable); - virtual void Enable(bool bDoEnable = TRUE); - virtual void Check(bool bDoCheck = TRUE); + virtual void Enable(bool bDoEnable = true); + virtual void Check(bool bDoCheck = true); virtual bool IsChecked(void) const; //