to adapt to WinCE version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27457
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
MyFrame* frame = new MyFrame((wxFrame *) NULL, -1,
_T("wxToolBar Sample"),
#ifdef __WXWINCE__
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
#else
wxPoint(100, 100), wxSize(550, 300)
#endif
m_rows = 1;
m_nPrint = 1;
m_rows = 1;
m_nPrint = 1;
// Give it a status line
CreateStatusBar();
// Give it a status line
CreateStatusBar();
// Give it an icon
SetIcon(wxICON(mondrian));
// Give it an icon
SetIcon(wxICON(mondrian));