X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/294ea16de3359844cb884baad219b40ea04fac48..88060820acda9b950d47c7bce37909a894cfda6b:/include/wx/motif/menu.h diff --git a/include/wx/motif/menu.h b/include/wx/motif/menu.h index b4f94426d1..16ecaa5557 100644 --- a/include/wx/motif/menu.h +++ b/include/wx/motif/menu.h @@ -12,21 +12,17 @@ #ifndef _WX_MOTIF_MENU_H_ #define _WX_MOTIF_MENU_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "menu.h" -#endif - #include "wx/colour.h" #include "wx/font.h" #include "wx/arrstr.h" -class wxFrame; +class WXDLLIMPEXP_CORE wxFrame; // ---------------------------------------------------------------------------- // Menu // ---------------------------------------------------------------------------- -class wxMenu : public wxMenuBase +class WXDLLIMPEXP_CORE wxMenu : public wxMenuBase { public: // ctors & dtor @@ -66,7 +62,7 @@ public: void HidePopup(); WXWidget CreateMenu(wxMenuBar *menuBar, WXWidget parent, wxMenu *topMenu, - const wxString& title = wxEmptyString, + size_t index, const wxString& title = wxEmptyString, bool isPulldown = false); // For popups, need to destroy, then recreate menu for a different (or @@ -112,7 +108,7 @@ private: // Menu Bar // ---------------------------------------------------------------------------- -class wxMenuBar : public wxMenuBarBase +class WXDLLIMPEXP_CORE wxMenuBar : public wxMenuBarBase { public: wxMenuBar() { Init(); }