]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/misc.i
typo fixed
[wxWidgets.git] / wxPython / src / misc.i
index 74b104185d011aa59466d7fab3f2d0b536dfb227..36c75d98d6d52e890bdb4d6131d46963ef054626 100644 (file)
@@ -64,7 +64,7 @@ public:
     %pragma(python) addtoclass = "
     def __str__(self):                   return str(self.asTuple())
     def __repr__(self):                  return str(self.asTuple())
-    def __len__(self):                   return len(self.asTuple()
+    def __len__(self):                   return len(self.asTuple())
     def __getitem__(self, index):        return self.asTuple()[index]
     def __setitem__(self, index, val):
         if index == 0: self.width = val
@@ -113,7 +113,7 @@ public:
     %pragma(python) addtoclass = "
     def __str__(self):                   return str(self.asTuple())
     def __repr__(self):                  return str(self.asTuple())
-    def __len__(self):                   return len(self.asTuple()
+    def __len__(self):                   return len(self.asTuple())
     def __getitem__(self, index):        return self.asTuple()[index]
     def __setitem__(self, index, val):
         if index == 0: self.width = val
@@ -160,7 +160,7 @@ public:
     %pragma(python) addtoclass = "
     def __str__(self):                   return str(self.asTuple())
     def __repr__(self):                  return str(self.asTuple())
-    def __len__(self):                   return len(self.asTuple()
+    def __len__(self):                   return len(self.asTuple())
     def __getitem__(self, index):        return self.asTuple()[index]
     def __setitem__(self, index, val):
         if index == 0: self.x = val
@@ -229,7 +229,7 @@ public:
     %pragma(python) addtoclass = "
     def __str__(self):                   return str(self.asTuple())
     def __repr__(self):                  return str(self.asTuple())
-    def __len__(self):                   return len(self.asTuple()
+    def __len__(self):                   return len(self.asTuple())
     def __getitem__(self, index):        return self.asTuple()[index]
     def __setitem__(self, index, val):
         if index == 0: self.x = val
@@ -312,6 +312,7 @@ long wxNewId();
 void wxRegisterId(long id);
 %name(NewId) long wxNewId();
 %name(RegisterId) void wxRegisterId(long id);
+long wxGetCurrentId();
 
 void wxBell();
 void wxDisplaySize(int *OUTPUT, int *OUTPUT);
@@ -332,6 +333,7 @@ wxString wxGetOsDescription();
 void wxSleep(int secs);
 void wxUsleep(unsigned long milliseconds);
 bool wxYield();
+bool wxYieldIfNeeded();
 void wxEnableTopLevelWindows(bool enable);
 
 %inline %{