X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d8d36335cf7d3a5bf787e7e2510ac09f4839e5e..736fe67c66e0f5a552f3b45e13d288f5c650c46e:/include/wx/cocoa/toplevel.h diff --git a/include/wx/cocoa/toplevel.h b/include/wx/cocoa/toplevel.h index 5ac33f1a77..0bf28d1056 100644 --- a/include/wx/cocoa/toplevel.h +++ b/include/wx/cocoa/toplevel.h @@ -15,7 +15,7 @@ #include "wx/hashmap.h" #include "wx/cocoa/NSWindow.h" -class WXDLLEXPORT wxMenuBar; +class WXDLLIMPEXP_FWD_CORE wxMenuBar; // ======================================================================== // 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; // ------------------------------------------------------------------------ @@ -106,10 +107,11 @@ public: virtual void SetTitle( const wxString& title); virtual wxString GetTitle() const; + // Default button (item) + wxWindow *SetDefaultItem(wxWindow *win); // Things I may/may not do -// virtual void SetIcon(const wxIcon& icon); -// virtual void SetIcons(const wxIconBundle& icons) { SetIcon( icons.GetIcon( -1 ) ); } +// virtual void SetIcons(const wxIconBundle& icons); // virtual void Clear() ; // virtual void Raise(); // virtual void Lower();