X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfe1eee3bb9ecde8c4490ea69c07b5030d69530c..f38374d0d7aa865e9bbe8ee61b75b94ffcdfb220:/include/wx/msw/dialog.h diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index 917667ed4f..f7a07592f8 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -77,6 +77,8 @@ public: virtual bool IsIconized() const; void Fit(); + virtual bool IsTopLevel() const { return TRUE; } + void SetTitle(const wxString& title); wxString GetTitle() const ; @@ -89,8 +91,7 @@ public: void SetModal(bool flag); virtual void Centre(int direction = wxBOTH); - virtual bool IsModal() const - { return ((GetWindowStyleFlag() & wxDIALOG_MODAL) == wxDIALOG_MODAL); } + virtual bool IsModal() const; // For now, same as Show(TRUE) but returns return code virtual int ShowModal();