X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7aec135d7bebcb407ac18af07b834034fda74dc..e08efb8dd9d9af576baec04aa77a7ea4bd31de3b:/include/wx/cocoa/window.h diff --git a/include/wx/cocoa/window.h b/include/wx/cocoa/window.h index 1fbc20590b..0a072ea49a 100644 --- a/include/wx/cocoa/window.h +++ b/include/wx/cocoa/window.h @@ -149,6 +149,10 @@ public: // Get/set client (application-useable) size virtual void DoGetClientSize(int *width, int *height) const; virtual void DoSetClientSize(int width, int size); + // Set the size of the wxWindow (the contentView of an NSWindow) + // wxTopLevelWindow will override this and set the NSWindow size + // such that the contentView will be this size + virtual void CocoaSetWxWindowSize(int width, int height); // Set overall size and position virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); virtual void DoMoveWindow(int x, int y, int width, int height);