replaced T() makro with wxT() due to namespace probs, _T() exists, too
fixed compilation problems, mainly in html code compiles and links fine on Solaris, runs with samples and Mahogany git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -120,7 +120,7 @@ wxNumberEntryDialog::wxNumberEntryDialog(wxWindow *parent,
|
||||
inputsizer->Add( new wxStaticText( this, -1, prompt ), 0, wxCENTER | wxLEFT, 10 );
|
||||
// spin ctrl
|
||||
wxString valStr;
|
||||
valStr.Printf(T("%lu"), m_value);
|
||||
valStr.Printf(wxT("%lu"), m_value);
|
||||
m_spinctrl = new wxTextCtrl(this, -1, valStr, wxDefaultPosition, wxSize( 140, -1 ) );
|
||||
inputsizer->Add( m_spinctrl, 1, wxCENTER | wxLEFT | wxRIGHT, 10 );
|
||||
// add both
|
||||
@@ -149,7 +149,7 @@ wxNumberEntryDialog::wxNumberEntryDialog(wxWindow *parent,
|
||||
|
||||
void wxNumberEntryDialog::OnOK(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
if ( (wxSscanf(m_spinctrl->GetValue(), T("%lu"), &m_value) != 1) ||
|
||||
if ( (wxSscanf(m_spinctrl->GetValue(), wxT("%lu"), &m_value) != 1) ||
|
||||
(m_value < m_min) || (m_value > m_max) )
|
||||
{
|
||||
// not a number or out of range
|
||||
|
Reference in New Issue
Block a user