Fixed a layout bug in MyFixed
More things done after realization wxListCtrl is grey now. Why? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -191,7 +191,7 @@ void MyFrame::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
|
||||
void MyFrame::OnToolLeftClick(wxCommandEvent& event)
|
||||
{
|
||||
wxString str;
|
||||
str.Printf("Clicked on tool %d", event.GetId());
|
||||
str.Printf( _T("Clicked on tool %d"), event.GetId());
|
||||
SetStatusText(str);
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ void MyFrame::OnToolEnter(wxCommandEvent& event)
|
||||
if (event.GetSelection() > -1)
|
||||
{
|
||||
wxString str;
|
||||
str.Printf("This is tool number %d", event.GetSelection());
|
||||
str.Printf(_T("This is tool number %d"), event.GetSelection());
|
||||
SetStatusText(str);
|
||||
}
|
||||
else
|
||||
|
@@ -22,7 +22,7 @@ class MyTimer : public wxTimer
|
||||
public:
|
||||
MyTimer(wxFrame *frame) { m_frame = frame; }
|
||||
|
||||
virtual void Notify() { wxLogStatus(m_frame, "Timer arrived!"); }
|
||||
virtual void Notify() { wxLogStatus(m_frame, _T("Timer arrived!") ); }
|
||||
|
||||
private:
|
||||
wxFrame *m_frame;
|
||||
|
Reference in New Issue
Block a user