X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eac3a2283f00714e38d2b1774212cbd6fc95dddb..062dfc9a96dc9e796c53544f41ff92dc47f26e82:/src/generic/numdlgg.cpp diff --git a/src/generic/numdlgg.cpp b/src/generic/numdlgg.cpp index 98e5c16734..0fc0424ff5 100644 --- a/src/generic/numdlgg.cpp +++ b/src/generic/numdlgg.cpp @@ -77,7 +77,7 @@ wxNumberEntryDialog::wxNumberEntryDialog(wxWindow *parent, long min, long max, const wxPoint& pos) - : wxDialog(GetParentForModalDialog(parent), + : wxDialog(GetParentForModalDialog(parent, 0), wxID_ANY, caption, pos, wxDefaultSize) { @@ -135,7 +135,7 @@ void wxNumberEntryDialog::OnOK(wxCommandEvent& WXUNUSED(event)) { #if !wxUSE_SPINCTRL wxString tmp = m_spinctrl->GetValue(); - if ( wxSscanf(tmp, _T("%ld"), &m_value) != 1 ) + if ( wxSscanf(tmp, wxT("%ld"), &m_value) != 1 ) EndModal(wxID_CANCEL); else #else