X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e05ffbd3eff02a4c643e412d4f600cdea26952..a42aa5d7be12e5bb24aa0488892574c01cae5a5b:/include/wx/gtk/dialog.h diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h index a90b7305f0..745acbf518 100644 --- a/include/wx/gtk/dialog.h +++ b/include/wx/gtk/dialog.h @@ -68,14 +68,12 @@ public: bool Destroy(); - virtual bool Show( bool show ); + virtual bool Show( bool show = TRUE ); virtual int ShowModal(); virtual void EndModal( int retCode ); virtual bool IsModal() const; void SetModal( bool modal ); - virtual void InitDialog(void); - virtual void SetIcon( const wxIcon &icon ); virtual void Iconize( bool WXUNUSED(iconize)) { } virtual bool IsIconized() const { return FALSE; } @@ -86,7 +84,12 @@ public: virtual bool IsTopLevel() const { return TRUE; } // implementation + // -------------- + // move the window to the specified location and resize it: this is called + // from both DoSetSize() and DoSetClientSize() + virtual void DoMoveWindow(int x, int y, int width, int height); + virtual void GtkOnSize( int x, int y, int width, int height ); virtual void OnInternalIdle(); @@ -98,6 +101,9 @@ protected: // common part of all ctors void Init(); + // common part of Destroy() and ~wxDialog + void CleanUp(); + virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);