diff --git a/wxPython/src/_datetime.i b/wxPython/src/_datetime.i index d03feb00ff..322c03a7eb 100644 --- a/wxPython/src/_datetime.i +++ b/wxPython/src/_datetime.i @@ -895,9 +895,16 @@ public: class wxTimeSpan { public: + + // TODO: Need an input typemap for wxLongLong... + + + // return the timespan for the given number of milliseconds + static wxTimeSpan Milliseconds(/*wxLongLong*/ long ms); + static wxTimeSpan Millisecond(); // return the timespan for the given number of seconds - static wxTimeSpan Seconds(long sec); + static wxTimeSpan Seconds(/*wxLongLong*/ long sec); static wxTimeSpan Second(); // return the timespan for the given number of minutes @@ -924,8 +931,8 @@ public: // milliseconds) wxTimeSpan(long hours = 0, long minutes = 0, - long seconds = 0, - long milliseconds = 0); + /*wxLongLong*/ long seconds = 0, + /*wxLongLong*/ long milliseconds = 0); ~wxTimeSpan(); diff --git a/wxPython/src/html.i b/wxPython/src/html.i index b2a8fd5f12..53f8b456b0 100644 --- a/wxPython/src/html.i +++ b/wxPython/src/html.i @@ -175,6 +175,11 @@ public: // void AddText(const char* txt) = 0; // void AddTag(const wxHtmlTag& tag); + + + // Returns HTML source inside the element (i.e. between the starting + // and ending tag) + wxString GetInnerSource(const wxHtmlTag& tag); };