]> git.saurik.com Git - wxWidgets.git/commitdiff
Use status bar even for WinCE; use standard frame style
authorJulian Smart <julian@anthemion.co.uk>
Thu, 27 May 2004 09:02:56 +0000 (09:02 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 27 May 2004 09:02:56 +0000 (09:02 +0000)
to adapt to WinCE version

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/toolbar/toolbar.cpp

index 6915f9828ec8e148cab7abb801aac7d784aba563..97ed31ee62270399f6dd445248cf6158605b02fd 100644 (file)
@@ -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));