if ( dialog.ShowModal() == wxID_OK )
return dialog.GetStringSelection();
else
- return _T("");
+ return wxT("");
}
// Overloaded for backward compatibility
{
m_selection = 0;
m_clientData = NULL;
- m_stringSelection = _T("");
+ m_stringSelection = wxT("");
m_dialogStyle = style;
// 4) buttons
topsizer->Add( CreateButtonSizer( wxOK|wxCANCEL ), 0, wxCENTRE | wxALL, 10 );
+ SetAutoLayout( TRUE );
+ SetSizer( topsizer );
+
topsizer->SetSizeHints( this );
topsizer->Fit( this );
- SetSizer( topsizer );
- SetAutoLayout( TRUE );
Centre( wxBOTH );