X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e306597309a120f2ae91385c731a5cb2722c52aa..9199e66fb56bc80b81b91f59250df78d7197052e:/include/wx/mac/dialog.h diff --git a/include/wx/mac/dialog.h b/include/wx/mac/dialog.h index d68cc7c9a0..0b595e9c9d 100644 --- a/include/wx/mac/dialog.h +++ b/include/wx/mac/dialog.h @@ -60,23 +60,17 @@ public: ~wxDialog(); virtual bool Destroy(); - void SetClientSize(int width, int height); - void GetPosition(int *x, int *y) const; bool Show(bool show); - void Iconize(bool iconize); - - virtual bool IsIconized() const; void Fit(); - void SetTitle(const wxString& title); - wxString GetTitle() const ; + void Iconize(bool iconize); + virtual bool IsIconized() const; void OnCharHook(wxKeyEvent& event); void OnCloseWindow(wxCloseEvent& event); void SetModal(bool flag); - virtual void Centre(int direction = wxBOTH); virtual bool IsModal() const { return ((GetWindowStyleFlag() & wxDIALOG_MODAL) == wxDIALOG_MODAL); } virtual int ShowModal(); @@ -87,9 +81,17 @@ public: void OnApply(wxCommandEvent& event); void OnCancel(wxCommandEvent& event); + void OnSize(wxSizeEvent& event) ; // Responds to colour changes void OnSysColourChanged(wxSysColourChangedEvent& event); + // splits text up at newlines and places the + // lines into a vertical wxBoxSizer + wxSizer *CreateTextSizer( const wxString &message ); + + // places buttons into a horizontal wxBoxSizer + wxSizer *CreateButtonSizer( long flags ); + DECLARE_EVENT_TABLE() };