Changeset 23176

Show
Ignore:
Timestamp:
11/11/08 04:39:39 (5 years ago)
Author:
NeoCat
Message:

アカウント設定ダイアログのstyle/default buttonを指定

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/python/crochet/config.py

    r23175 r23176  
    1919        wx.StaticText(panel, -1, 'Password', (15, 60)) 
    2020        self.userFld = wx.TextCtrl(panel, -1, self.user, (100, 30)) 
    21         self.passwordFld = wx.TextCtrl(panel, -1, self.password, (100, 60)) 
     21        self.passwordFld = wx.TextCtrl(panel, -1, self.password, (100, 60), style=wx.TE_PASSWORD) 
    2222 
    2323        okButton = wx.Button(self.dialog, 1, 'OK', size=(70, 30)) 
     24        okButton.SetDefault() 
    2425        self.dialog.Bind(wx.EVT_BUTTON, self.OnSave, id=1) 
    2526