Use status bar even for WinCE; use standard frame style
to adapt to WinCE version git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -257,7 +257,7 @@ bool MyApp::OnInit()
|
|||||||
MyFrame* frame = new MyFrame((wxFrame *) NULL, -1,
|
MyFrame* frame = new MyFrame((wxFrame *) NULL, -1,
|
||||||
_T("wxToolBar Sample"),
|
_T("wxToolBar Sample"),
|
||||||
#ifdef __WXWINCE__
|
#ifdef __WXWINCE__
|
||||||
wxPoint(0, 0), wxDefaultSize, wxNO_BORDER
|
wxPoint(0, 0), wxDefaultSize
|
||||||
#else
|
#else
|
||||||
wxPoint(100, 100), wxSize(550, 300)
|
wxPoint(100, 100), wxSize(550, 300)
|
||||||
#endif
|
#endif
|
||||||
@@ -387,10 +387,8 @@ MyFrame::MyFrame(wxFrame* parent,
|
|||||||
m_rows = 1;
|
m_rows = 1;
|
||||||
m_nPrint = 1;
|
m_nPrint = 1;
|
||||||
|
|
||||||
#ifndef __WXWINCE__
|
|
||||||
// Give it a status line
|
// Give it a status line
|
||||||
CreateStatusBar();
|
CreateStatusBar();
|
||||||
#endif
|
|
||||||
|
|
||||||
// Give it an icon
|
// Give it an icon
|
||||||
SetIcon(wxICON(mondrian));
|
SetIcon(wxICON(mondrian));
|
||||||
|
Reference in New Issue
Block a user