X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/578c208107b4a2ddff650ab9795022a08351ea39..f38374d0d7aa865e9bbe8ee61b75b94ffcdfb220:/include/wx/gtk/dialog.h diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h index 6edb8e1df6..5e66c12306 100644 --- a/include/wx/gtk/dialog.h +++ b/include/wx/gtk/dialog.h @@ -35,7 +35,7 @@ extern const wxChar *wxDialogNameStr; // wxDialog //----------------------------------------------------------------------------- -class wxDialog: public wxPanel +class wxDialog: public wxDialogBase { DECLARE_DYNAMIC_CLASS(wxDialog) @@ -78,8 +78,6 @@ public: virtual void InitDialog(void); - virtual void Centre( int direction = wxHORIZONTAL ); - virtual void SetIcon( const wxIcon &icon ); virtual void Iconize( bool WXUNUSED(iconize)) { } virtual bool IsIconized() const { return FALSE; } @@ -87,6 +85,8 @@ public: virtual void Maximize() { } virtual void Restore() { } + virtual bool IsTopLevel() const { return TRUE; } + // implementation virtual void GtkOnSize( int x, int y, int width, int height );