X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1d04a42d5a19b18856a41571488fe7006f3d00a..f3ff831f3be88834579fc9a0ce17f24745650faf:/include/wx/cocoa/mbarman.h diff --git a/include/wx/cocoa/mbarman.h b/include/wx/cocoa/mbarman.h index a7947bde1b..fd6d826da5 100644 --- a/include/wx/cocoa/mbarman.h +++ b/include/wx/cocoa/mbarman.h @@ -21,7 +21,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(wxMenuBarManagerObserver); // ======================================================================== // wxMenuBarManager // ======================================================================== -class WXDLLEXPORT wxMenuBarManager : public wxObject +class WXDLLIMPEXP_CORE wxMenuBarManager : public wxObject { // ------------------------------------------------------------------------ // initialization/destruction @@ -50,7 +50,7 @@ public: void WindowDidResignMain(NSNotification *notification); void WindowWillClose(NSNotification *notification); #endif // 0 - void UpdateWindowMenuBar(wxTopLevelWindowNative *win); + void UpdateMenuBar(); protected: void SetMenuBar(wxMenuBar* menubar); void InstallMenuBarForWindow(wxCocoaNSWindow *win); @@ -64,7 +64,7 @@ protected: // Main menu (if app provides one) wxMenuBar *m_mainMenuBar; wxMenuBarManagerObserver *m_observer; - wxCocoaNSWindow *m_windowCurrent; + WX_NSWindow m_currentNSWindow; }; #endif // wxUSE_MENUS