X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc1c4b62139143b546a78f1aeebbafa1e58fc6e9..16553659df1a8fee8b19cc9a8ff8321711fe983c:/include/wx/msw/dialog.h diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index 99dec3f0ef..b502600039 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -9,8 +9,8 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifndef __DIALOGH__ -#define __DIALOGH__ +#ifndef _WX_DIALOG_H_ +#define _WX_DIALOG_H_ #ifdef __GNUG__ #pragma interface "dialog.h" @@ -63,8 +63,16 @@ public: virtual bool Destroy(void); void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + void SetClientSize(int width, int height); + void SetClientSize(const wxSize& sz) { wxWindow::SetClientSize(sz); } + void GetPosition(int *x, int *y) const; + wxPoint GetPosition() const { return wxWindow::GetPosition(); } + bool Show(bool show); bool IsShown(void) const ; void Iconize(bool iconize); @@ -118,4 +126,4 @@ DECLARE_EVENT_TABLE() }; #endif - // __DIALOGH__ + // _WX_DIALOG_H_