diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index 6915f9828e..97ed31ee62 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -257,7 +257,7 @@ bool MyApp::OnInit() MyFrame* frame = new MyFrame((wxFrame *) NULL, -1, _T("wxToolBar Sample"), #ifdef __WXWINCE__ - wxPoint(0, 0), wxDefaultSize, wxNO_BORDER + wxPoint(0, 0), wxDefaultSize #else wxPoint(100, 100), wxSize(550, 300) #endif @@ -387,10 +387,8 @@ MyFrame::MyFrame(wxFrame* parent, m_rows = 1; m_nPrint = 1; -#ifndef __WXWINCE__ // Give it a status line CreateStatusBar(); -#endif // Give it an icon SetIcon(wxICON(mondrian));