]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_toplvl.i
added defines for wxchar workaround
[wxWidgets.git] / wxPython / src / _toplvl.i
index 2629566dfe00486e1c8865828c58abaf8c4d8bad..8da7a55a3150a41d83bb5c69c560556eb1f797f4 100644 (file)
@@ -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
-        }
-    }
 };
 
 //---------------------------------------------------------------------------