X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..f8252483ec03c2623ebb7f7cc6718d10e9468fc2:/wxPython/src/misc.i diff --git a/wxPython/src/misc.i b/wxPython/src/misc.i index 1719b55c64..5414d9dfcd 100644 --- a/wxPython/src/misc.i +++ b/wxPython/src/misc.i @@ -14,7 +14,6 @@ %{ #include "helpers.h" -#include #include #include #include @@ -70,6 +69,9 @@ public: void SetWidth(long w); void SetHeight(long h); + void IncTo(const wxSize& sz); + void DecTo(const wxSize& sz); + %addmethods { PyObject* asTuple() { wxPyBeginBlockThreads(); @@ -585,6 +587,8 @@ unsigned long wxGetProcessId(); // When wxApp gets the virtual method magic then enable this. // bool wxHandleFatalExceptions(bool doIt = TRUE); +void wxTrap(); + //---------------------------------------------------------------------- enum wxEdge { wxLeft, wxTop, wxRight, wxBottom, wxWidth, wxHeight, @@ -666,6 +670,7 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label); #if 0 // we want to use the definition from the header, not the // one SWIG will generate. %} +// See also wxPy_ReinitStockObjects in helpers.cpp extern wxAcceleratorTable wxNullAcceleratorTable; %{ #endif