<property name="Yes">0</property>
<property name="minimum_size"></property>
<property name="name">m_Buttons</property>
- <property name="permission">none</property>
+ <property name="permission">protected</property>
<event name="OnApplyButtonClick"></event>
<event name="OnCancelButtonClick"></event>
<event name="OnContextHelpButtonClick"></event>
m_PortText->SetValue(hostport[1]);
else
m_PortText->SetValue("5665");
+
+ SetDefaultItem(m_ButtonsOK);
}
Url::Ptr ConnectForm::GetUrl(void) const
wxBoxSizer* m_ButtonsSizer;
m_ButtonsSizer = new wxBoxSizer( wxHORIZONTAL );
- wxStdDialogButtonSizer* m_Buttons;
- wxButton* m_ButtonsOK;
- wxButton* m_ButtonsCancel;
m_Buttons = new wxStdDialogButtonSizer();
m_ButtonsOK = new wxButton( m_ButtonsPanel, wxID_OK );
m_Buttons->AddButton( m_ButtonsOK );
wxTextCtrl* m_PortText;
wxTextCtrl* m_UserText;
wxTextCtrl* m_PasswordText;
+ wxStdDialogButtonSizer* m_Buttons;
+ wxButton* m_ButtonsOK;
+ wxButton* m_ButtonsCancel;
public: