X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e875c17db746544c0f02c628da521542d0f2f059..3678169caab0f713415414dce013a638305f3cce:/include/wx/cocoa/toplevel.h diff --git a/include/wx/cocoa/toplevel.h b/include/wx/cocoa/toplevel.h index 4a4780e9b6..0e850d6343 100644 --- a/include/wx/cocoa/toplevel.h +++ b/include/wx/cocoa/toplevel.h @@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxMenuBar; // ======================================================================== // wxTopLevelWindowCocoa // ======================================================================== -class WXDLLEXPORT wxTopLevelWindowCocoa : public wxTopLevelWindowBase, protected wxCocoaNSWindow +class WXDLLIMPEXP_CORE wxTopLevelWindowCocoa : public wxTopLevelWindowBase, protected wxCocoaNSWindow { DECLARE_EVENT_TABLE(); DECLARE_NO_COPY_CLASS(wxTopLevelWindowCocoa); @@ -80,6 +80,7 @@ protected: static wxCocoaNSWindowHash sm_cocoaHash; virtual void CocoaReplaceView(WX_NSView oldView, WX_NSView newView); static unsigned int NSWindowStyleForWxStyle(long style); + static NSRect MakeInitialNSWindowContentRect(const wxPoint& pos, const wxSize& size, unsigned int cocoaStyleMask); static wxTopLevelWindowCocoa *sm_cocoaDeactivateWindow; // ------------------------------------------------------------------------ @@ -125,6 +126,6 @@ protected: }; // list of all frames and modeless dialogs -extern WXDLLEXPORT_DATA(wxWindowList) wxModelessWindows; +extern WXDLLIMPEXP_DATA_CORE(wxWindowList) wxModelessWindows; #endif // __WX_COCOA_TOPLEVEL_H__