#include "wx/statline.h"
#endif
-const wxChar wxGetTextFromUserPromptStr[] = wxT("Input Text");
-const wxChar wxGetPasswordFromUserPromptStr[] = wxT("Enter Password");
+const char wxGetTextFromUserPromptStr[] = "Input Text";
+const char wxGetPasswordFromUserPromptStr[] = "Enter Password";
// ----------------------------------------------------------------------------
// constants
const wxString& value,
long style,
const wxPoint& pos)
- : wxDialog(parent, wxID_ANY, caption, pos, wxDefaultSize,
+ : wxDialog(GetParentForModalDialog(parent),
+ wxID_ANY, caption, pos, wxDefaultSize,
wxDEFAULT_DIALOG_STYLE),
m_value(value)
{