X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b835535a92d6c281084c10e46d51029c1eb776d..7d56fb8fcdb469bdef549319b2d81ab4b02b5a67:/include/wx/gtk1/dialog.h diff --git a/include/wx/gtk1/dialog.h b/include/wx/gtk1/dialog.h index f440b8a6be..c996833727 100644 --- a/include/wx/gtk1/dialog.h +++ b/include/wx/gtk1/dialog.h @@ -37,8 +37,6 @@ extern const wxChar *wxDialogNameStr; class wxDialog: public wxDialogBase { - DECLARE_DYNAMIC_CLASS(wxDialog) - public: wxDialog() { Init(); } wxDialog( wxWindow *parent, wxWindowID id, @@ -85,8 +83,15 @@ public: virtual void Maximize() { } virtual void Restore() { } + 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(); @@ -104,6 +109,7 @@ protected: private: DECLARE_EVENT_TABLE() + DECLARE_DYNAMIC_CLASS(wxDialog) }; #endif // __GTKDIALOGH__