MyFrame* frame = new MyFrame((wxFrame *) NULL, -1,
_T("wxToolBar Sample"),
#ifdef __WXWINCE__
- wxPoint(0, 0), wxDefaultSize
+ wxDefaultPosition, wxDefaultSize
#else
wxPoint(100, 100), wxSize(550, 300)
#endif
frame->Show(TRUE);
+#ifndef __SMARTPHONE__
frame->SetStatusText(_T("Hello, wxWidgets"));
+#endif
SetTopWindow(frame);
m_rows = 1;
m_nPrint = 1;
+#ifndef __SMARTPHONE__
// Give it a status line
CreateStatusBar();
+#endif
// Give it an icon
SetIcon(wxICON(mondrian));
void MyFrame::OnToolEnter(wxCommandEvent& event)
{
+#ifndef __SMARTPHONE__
if (event.GetSelection() > -1)
{
wxString str;
}
else
SetStatusText(_T(""));
+#endif
}
void MyFrame::OnToggleRadioBtn(wxCommandEvent& event)