X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a212b7793ae0f811582b842589b4db0fccf15bf4..9176f38f730c3415ac7a911c2f85cdea7eca4478:/wxPython/src/_toplvl.i?ds=sidebyside diff --git a/wxPython/src/_toplvl.i b/wxPython/src/_toplvl.i index 52bfd7bf62..8da7a55a31 100644 --- a/wxPython/src/_toplvl.i +++ b/wxPython/src/_toplvl.i @@ -51,10 +51,10 @@ enum wxFRAME_SHAPED, // Obsolete - //wxDIALOG_MODAL, - //wxDIALOG_MODELESS, - //wxUSER_COLOURS, - //wxNO_3D, + wxDIALOG_MODAL, + wxDIALOG_MODELESS, + wxUSER_COLOURS, + wxNO_3D, }; enum @@ -299,17 +299,6 @@ public: // may be called to terminate the dialog with the given return code virtual void EndModal(int retCode); - - // returns True if we're in a modal loop - %extend { - bool IsModalShowing() { - #ifdef __WXGTK__ - return self->m_modalShowing; - #else - return self->IsModalShowing(); - #endif - } - } }; //---------------------------------------------------------------------------