X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac346f50461692f40d98ead8d6817ec8a668f915..06b781c7c630ff8c2ab30211cb4351b4cb5bfb47:/wxPython/src/misc2.i?ds=inline diff --git a/wxPython/src/misc2.i b/wxPython/src/misc2.i index cb61fbe064..df0df82579 100644 --- a/wxPython/src/misc2.i +++ b/wxPython/src/misc2.i @@ -284,18 +284,10 @@ public: wxString GetTip(); // *** Not in the "public" interface void SetWindow(wxWindow *win); wxWindow *GetWindow(); -}; - - -%inline %{ - void wxToolTip_Enable(bool flag) { - wxToolTip::Enable(flag); - } - void wxToolTip_SetDelay(long milliseconds) { - wxToolTip::SetDelay(milliseconds); - } -%} + static void Enable(bool flag); + static void SetDelay(long milliseconds); +}; //---------------------------------------------------------------------- @@ -747,7 +739,7 @@ public: int GetUPosition() { return -1; } int GetVPosition() { return -1; } int GetMovementThreshold() { return -1; } - void SetMovementThreshold(int threshold) ; + void SetMovementThreshold(int threshold) {} bool IsOk(void) { return FALSE; } int GetNumberJoysticks() { return -1; } @@ -843,7 +835,7 @@ public: //---------------------------------------------------------------------- %{ -#if !wxUSE_WAVE && !defined(__WXMSW__) +#if !wxUSE_WAVE // A C++ stub class for wxWave for platforms that don't have it. class wxWave : public wxObject { @@ -885,6 +877,8 @@ public: } %} + +//---------------------------------------------------------------------- //----------------------------------------------------------------------