X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9f7fea29e3f8bb61861f52984b7943512346ac..a41e16b6369fe36743aea3273460362bb503f092:/wxPython/src/_toplvl.i diff --git a/wxPython/src/_toplvl.i b/wxPython/src/_toplvl.i index 5ca8ae9b09..1e23183f42 100644 --- a/wxPython/src/_toplvl.i +++ b/wxPython/src/_toplvl.i @@ -15,13 +15,10 @@ //--------------------------------------------------------------------------- -%{ - // Put some wx default wxChar* values into wxStrings. - DECLARE_DEF_STRING(FrameNameStr); - DECLARE_DEF_STRING(DialogNameStr); - DECLARE_DEF_STRING(StatusLineNameStr); - DECLARE_DEF_STRING(ToolBarNameStr); -%} +MAKE_CONST_WXSTRING(FrameNameStr); +MAKE_CONST_WXSTRING(DialogNameStr); +MAKE_CONST_WXSTRING(StatusLineNameStr); +MAKE_CONST_WXSTRING(ToolBarNameStr); //--------------------------------------------------------------------------- %newgroup @@ -253,7 +250,9 @@ public: wxSizer *CreateButtonSizer( long flags ); - void SetModal(bool flag); + //void SetModal(bool flag); + + // is the dialog in modal state right now? virtual bool IsModal() const; // Shows the dialog and starts a nested event loop that returns when