X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02bcd285fac7124a41292d905609220005f51087..392c5133ff8aba785fece7aef8f63f99843e8aa1:/include/wx/motif/dialog.h?ds=inline diff --git a/include/wx/motif/dialog.h b/include/wx/motif/dialog.h index 9fa1cfd9c1..be53d02123 100644 --- a/include/wx/motif/dialog.h +++ b/include/wx/motif/dialog.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dialog.h +// Name: wx/motif/dialog.h // Purpose: wxDialog class // Author: Julian Smart // Modified by: @@ -22,7 +22,6 @@ class WXDLLEXPORT wxDialog : public wxDialogBase public: wxDialog(); - // Constructor with no modal flag - the new convention. wxDialog(wxWindow *parent, wxWindowID id, const wxString& title, const wxPoint& pos = wxDefaultPosition, @@ -51,7 +50,7 @@ public: void SetModal(bool flag); virtual bool IsModal() const - { return ((GetWindowStyleFlag() & wxDIALOG_MODAL) == wxDIALOG_MODAL); } + { return m_modalShowing; } virtual int ShowModal(); virtual void EndModal(int retCode);