]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_defs.i
fixed deadlock when calling wxPostEvent() from worker thread
[wxWidgets.git] / wxPython / src / _defs.i
index db35ec1875a50212bded44949ba67c982318fd17..772318584620115dd5872b172759c4b735bdcdde 100644 (file)
@@ -162,6 +162,12 @@ typedef unsigned long   wxUIntPtr;
     %pythoncode { NAME = property(STUFF) }
 %enddef
 
+
+%define setCallbackInfo(klass)
+    "klass._setCallbackInfo(self, self, klass)"
+%enddef
+
+
 //----------------------------------------------------------------------
 // Macros for the docstring and autodoc features of SWIG.  These will
 // help make the code look more readable, and pretty, as well as help
@@ -611,6 +617,7 @@ enum {
     wxID_CLOSE_ALL,
     wxID_PREFERENCES,
 
+    wxID_EDIT,
     wxID_CUT,
     wxID_COPY,
     wxID_PASTE,
@@ -633,6 +640,7 @@ enum {
     wxID_VIEW_SORTSIZE,
     wxID_VIEW_SORTTYPE,
 
+    wxID_FILE,
     wxID_FILE1,
     wxID_FILE2,
     wxID_FILE3,
@@ -690,15 +698,6 @@ enum {
    
     wxID_HIGHEST,
 
-    wxPD_AUTO_HIDE,
-    wxPD_APP_MODAL,
-    wxPD_CAN_ABORT,
-    wxPD_ELAPSED_TIME,
-    wxPD_ESTIMATED_TIME,
-    wxPD_REMAINING_TIME,
-    wxPD_SMOOTH,
-    wxPD_CAN_SKIP,
-
     wxMENU_TEAROFF,
     wxMB_DOCKABLE,
     wxNO_FULL_REPAINT_ON_RESIZE,
@@ -1217,6 +1216,14 @@ enum wxUpdateUI
 };
 
 
+enum wxLayoutDirection
+{
+    wxLayout_Default,
+    wxLayout_LeftToRight,
+    wxLayout_RightToLeft
+};
+
+
 
 //---------------------------------------------------------------------------