X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b02396e86fa089d576b5c70a2067a6559e653a50..e6ab1c5756d6f068ff4fd50ad759afce5bd04bbd:/wxPython/src/mac/_misc.py?ds=sidebyside diff --git a/wxPython/src/mac/_misc.py b/wxPython/src/mac/_misc.py index 5a74e15036..4c4711cf84 100644 --- a/wxPython/src/mac/_misc.py +++ b/wxPython/src/mac/_misc.py @@ -511,6 +511,14 @@ def MessageBox(*args, **kwargs): """ return _misc_.MessageBox(*args, **kwargs) +def GetNumberFromUser(*args, **kwargs): + """ + GetNumberFromUser(String message, String prompt, String caption, long value, + long min=0, long max=100, Window parent=None, + Point pos=DefaultPosition) -> long + """ + return _misc_.GetNumberFromUser(*args, **kwargs) + def ColourDisplay(*args): """ColourDisplay() -> bool""" return _misc_.ColourDisplay(*args) @@ -1291,6 +1299,16 @@ class Log(object): return _misc_.Log_DontCreateOnDemand(*args, **kwargs) DontCreateOnDemand = staticmethod(DontCreateOnDemand) + def SetRepetitionCounting(*args, **kwargs): + """SetRepetitionCounting(bool bRepetCounting=True)""" + return _misc_.Log_SetRepetitionCounting(*args, **kwargs) + + SetRepetitionCounting = staticmethod(SetRepetitionCounting) + def GetRepetitionCounting(*args, **kwargs): + """GetRepetitionCounting() -> bool""" + return _misc_.Log_GetRepetitionCounting(*args, **kwargs) + + GetRepetitionCounting = staticmethod(GetRepetitionCounting) def SetTraceMask(*args, **kwargs): """SetTraceMask(TraceMask ulMask)""" return _misc_.Log_SetTraceMask(*args, **kwargs) @@ -1403,6 +1421,14 @@ def Log_DontCreateOnDemand(*args): """Log_DontCreateOnDemand()""" return _misc_.Log_DontCreateOnDemand(*args) +def Log_SetRepetitionCounting(*args, **kwargs): + """Log_SetRepetitionCounting(bool bRepetCounting=True)""" + return _misc_.Log_SetRepetitionCounting(*args, **kwargs) + +def Log_GetRepetitionCounting(*args): + """Log_GetRepetitionCounting() -> bool""" + return _misc_.Log_GetRepetitionCounting(*args) + def Log_SetTraceMask(*args, **kwargs): """Log_SetTraceMask(TraceMask ulMask)""" return _misc_.Log_SetTraceMask(*args, **kwargs)