dialogs/FindInPouDialog.py
branch1.1 Korean release
changeset 1280 72a826dfcfbb
parent 1098 0ead830daf26
child 1490 f03bc6c9c146
--- a/dialogs/FindInPouDialog.py	Wed Mar 13 12:34:55 2013 +0900
+++ b/dialogs/FindInPouDialog.py	Wed Jul 31 10:45:07 2013 +0900
@@ -97,6 +97,7 @@
               flag=wx.LEFT|wx.RIGHT|wx.BOTTOM|wx.ALIGN_RIGHT)
         
         self.FindButton = wx.Button(panel, label=_("Find"))
+        self.FindButton.SetDefault()
         self.Bind(wx.EVT_BUTTON, self.OnFindButton, self.FindButton)
         buttons_sizer.AddWindow(self.FindButton, border=5, flag=wx.RIGHT)
         
@@ -109,7 +110,8 @@
         self.ParentWindow = parent
         
         self.Bind(wx.EVT_CLOSE, self.OnCloseFrame)
-    
+        
+        self.FindPattern.SetFocus()
         self.RefreshButtonsState()
     
     def RefreshButtonsState(self):