Little bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -826,6 +826,7 @@ class App(wxApp):
 | 
			
		||||
        global debug
 | 
			
		||||
        # Process comand-line
 | 
			
		||||
        try:
 | 
			
		||||
            opts = args = []  #give empty values in case of exception
 | 
			
		||||
            opts, args = getopt.getopt(sys.argv[1:], 'dhiv')
 | 
			
		||||
        except getopt.GetoptError:
 | 
			
		||||
            if wxPlatform != '__WXMAC__': # macs have some extra parameters
 | 
			
		||||
 
 | 
			
		||||
@@ -9,6 +9,8 @@ from globals import *
 | 
			
		||||
from params import *
 | 
			
		||||
 | 
			
		||||
currentEncoding = wxLocale_GetSystemEncodingName()
 | 
			
		||||
if not currentEncoding:
 | 
			
		||||
    currentEncoding = 'ascii'
 | 
			
		||||
 | 
			
		||||
# Base class for interface parameter classes
 | 
			
		||||
class xxxNode:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user