X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/447f48ba1953f5c220834d60c4d1d9da390f6bc0..da8d6ffa5790529ae784345cb4441a3956751193:/wxPython/src/_toplvl.i diff --git a/wxPython/src/_toplvl.i b/wxPython/src/_toplvl.i index 2629566dfe..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 @@ -128,6 +128,10 @@ public: // is successful.) virtual bool SetShape(const wxRegion& region); +#ifdef __WXMAC__ + void MacSetMetalAppearance( bool on ) ; + bool MacGetMetalAppearance() const ; +#endif }; @@ -295,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 - } - } }; //---------------------------------------------------------------------------