X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9874b4ee8308b8989c5df7db4f3559625299d0a4..20d9661c04e34d64dbec300c002d5d1c1f70ad1e:/include/wx/motif/menuitem.h diff --git a/include/wx/motif/menuitem.h b/include/wx/motif/menuitem.h index 75649d9f30..4822d8013c 100644 --- a/include/wx/motif/menuitem.h +++ b/include/wx/motif/menuitem.h @@ -16,11 +16,13 @@ #pragma interface "menuitem.h" #endif +class WXDLLEXPORT wxMenuBar; + // ---------------------------------------------------------------------------- // wxMenuItem: an item in the menu, optionally implements owner-drawn behaviour // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxMenuItem: public wxMenuItemBase +class wxMenuItem : public wxMenuItemBase { public: // ctor & dtor @@ -34,6 +36,7 @@ public: // accessors (some more are inherited from wxOwnerDrawn or are below) virtual void SetText(const wxString& label); + virtual wxString GetLabel() const; virtual void Enable(bool enable = TRUE); virtual void Check(bool check = TRUE);