X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/621793f45e003588e32f7a6ca10cd238f7c96fe6..a367b9b3f8a722d6029e209070be11d120be0180:/include/wx/motif/frame.h diff --git a/include/wx/motif/frame.h b/include/wx/motif/frame.h index 0614b627ba..945ecbc5a8 100644 --- a/include/wx/motif/frame.h +++ b/include/wx/motif/frame.h @@ -54,14 +54,29 @@ public: const wxString& name = wxFrameNameStr); virtual bool Destroy(); + void SetClientSize(int width, int height); + void SetClientSize(const wxSize& size) { wxWindow::SetClientSize(size); } + void GetClientSize(int *width, int *height) const; + wxSize GetClientSize() const { return wxWindow::GetClientSize(); } void GetSize(int *width, int *height) const ; + wxSize GetSize() const { return wxWindow::GetSize(); } + void GetPosition(int *x, int *y) const ; + wxPoint GetPosition() const { return wxWindow::GetPosition(); } + void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + void ClientToScreen(int *x, int *y) const; + wxPoint ClientToScreen(const wxPoint& pt) const { return wxWindow::ClientToScreen(pt); } + void ScreenToClient(int *x, int *y) const; + wxPoint ScreenToClient(const wxPoint& pt) const { return wxWindow::ScreenToClient(pt); } virtual bool OnClose();