X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1987af7e9f5685198b0c19e2326eebf7e56b7834..5e84fc5a820a15a1ce2d32d2ae71f0bf92abda3d:/include/wx/menu.h diff --git a/include/wx/menu.h b/include/wx/menu.h index 599326cb18..83576de1cf 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -57,9 +57,6 @@ public: // menu construction // ----------------- - // append a separator to the menu - void AppendSeparator() { Append(wxID_SEPARATOR, wxEmptyString); } - // append a normal item to the menu void Append(int id, const wxString& text, @@ -69,6 +66,9 @@ public: DoAppend(wxMenuItem::New((wxMenu *)this, id, text, help, isCheckable)); } + // append a separator to the menu + void AppendSeparator() { Append(wxID_SEPARATOR, wxEmptyString); } + // append a submenu void Append(int id, const wxString& text,