git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53809
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// and in the hotkey which is used to set given pointer
static wxString GTKProcessMenuItemLabel(const wxString& str, wxString *hotKey);
// and in the hotkey which is used to set given pointer
static wxString GTKProcessMenuItemLabel(const wxString& str, wxString *hotKey);
+#if WXWIN_COMPATIBILITY_2_8
// compatibility only, don't use in new code
// compatibility only, don't use in new code
wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,
const wxString& help,
bool isCheckable,
wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,
const wxString& help,
bool isCheckable,
- wxMenu *subMenu = (wxMenu *)NULL);
+ wxMenu *subMenu = NULL)
+ );
+#endif
private:
// common part of all ctors
private:
// common part of all ctors
void SetRadioGroupStart(int start);
void SetRadioGroupEnd(int end);
void SetRadioGroupStart(int start);
void SetRadioGroupEnd(int end);
+#if WXWIN_COMPATIBILITY_2_8
// compatibility only, don't use in new code
// compatibility only, don't use in new code
wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,
const wxString& help,
bool isCheckable,
wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,
const wxString& help,
bool isCheckable,
- wxMenu *subMenu = (wxMenu *)NULL);
+ wxMenu *subMenu = NULL)
+ );
+#endif
private:
// common part of all ctors
private:
// common part of all ctors
+#if WXWIN_COMPATIBILITY_2_8
wxMenuItem::wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,
wxMenuItem::wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,
void wxMenuItem::Init(const wxString& text)
{
void wxMenuItem::Init(const wxString& text)
{
+#if WXWIN_COMPATIBILITY_2_8
wxMenuItem::wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,
wxMenuItem::wxMenuItem(wxMenu *parentMenu,
int id,
const wxString& text,
void wxMenuItem::Init()
{
void wxMenuItem::Init()
{