git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56464
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Update property value from editor, if necessary
wxSize dlg_sz(300,400);
// Update property value from editor, if necessary
wxSize dlg_sz(300,400);
+ wxString dlgMessage(m_dlgMessage);
+ if ( dlgMessage.empty() )
+ dlgMessage = _("Choose a directory:");
wxDirDialog dlg( propGrid,
wxDirDialog dlg( propGrid,
- m_dlgMessage.length() ? m_dlgMessage : wxString(_("Choose a directory:")),
value,
0,
#if !wxPG_SMALL_SCREEN
propGrid->GetGoodEditorDialogPosition(this,dlg_sz),
value,
0,
#if !wxPG_SMALL_SCREEN
propGrid->GetGoodEditorDialogPosition(this,dlg_sz),
if ( dlg.ShowModal() == wxID_OK )
{
if ( dlg.ShowModal() == wxID_OK )
{