wxPython changes for Get/SetLogLevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -43,13 +43,15 @@ def main(args=sys.argv):
|
||||
|
||||
from wxPython.wx import wxPySimpleApp, wxConfigBase_Get, \
|
||||
wxLog_SetActiveTarget, wxLogStderr, \
|
||||
wxLog_SetLogLevel, wxLOG_Error, \
|
||||
wxFileSystem_AddHandler, wxZipFSHandler
|
||||
import wxPython.html
|
||||
from wxPython.htmlhelp import wxHtmlHelpController
|
||||
|
||||
|
||||
app = wxPySimpleApp()
|
||||
wxLog_SetActiveTarget(wxLogStderr())
|
||||
#wxLog_SetActiveTarget(wxLogStderr())
|
||||
wxLog_SetLogLevel(wxLOG_Error)
|
||||
|
||||
# Set up the default config so the htmlhelp frame can save its preferences
|
||||
app.SetVendorName('wxWindows')
|
||||
|
Reference in New Issue
Block a user