Unicode compilation fixes (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -254,14 +254,14 @@ void MyFrame::ToggleLive(wxCommandEvent& event )
|
||||
void MyFrame::SetMinSize(wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
wxString str;
|
||||
str.Printf( _T(_T("%d")), m_splitter->GetMinimumPaneSize());
|
||||
str.Printf( wxT("%d"), m_splitter->GetMinimumPaneSize());
|
||||
str = wxGetTextFromUser(_T("Enter minimal size for panes:"), _T(""), str, this);
|
||||
if ( str.IsEmpty() )
|
||||
return;
|
||||
|
||||
int minsize = wxStrtol( str, (wxChar**)NULL, 10 );
|
||||
m_splitter->SetMinimumPaneSize(minsize);
|
||||
str.Printf( _T(_T("Min pane size = %d")), minsize);
|
||||
str.Printf( wxT("Min pane size = %d"), minsize);
|
||||
SetStatusText(str, 1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user