Small tweaks for WinCE compatibility

Use generic folder dialog for WinCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-15 13:15:48 +00:00
parent 1dedb80b26
commit 529b7f71bd
7 changed files with 16 additions and 8 deletions

View File

@@ -251,8 +251,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
_T("Allow changing the year in the calendar"),
TRUE);
menuCal->AppendSeparator();
menuCal->Append(Calendar_Cal_SetDate, "SetDate()", "Set date to 2005-12-24.");
menuCal->Append(Calendar_Cal_Today, "Today()", "Set the current date.");
menuCal->Append(Calendar_Cal_SetDate, _T("SetDate()"), _T("Set date to 2005-12-24."));
menuCal->Append(Calendar_Cal_Today, _T("Today()"), _T("Set the current date."));
// now append the freshly created menu to the menu bar...
wxMenuBar *menuBar = new wxMenuBar;

View File

@@ -272,8 +272,7 @@ void MyFrame::OnSetFontSize(wxCommandEvent& WXUNUSED(event))
{
long fontSize = wxGetNumberFromUser
(
_T("The font size also determines the caret size so\n"
"this demonstrates resizing the caret."),
_T("The font size also determines the caret size so\nthis demonstrates resizing the caret."),
_T("Font size (in points):"),
_T("wxCaret sample"),
12, 1, 100,

View File

@@ -25,6 +25,10 @@
#include "wx/wx.h"
#endif
#ifdef __WXWINCE__
#include "wx/msw/wince/time.h"
#endif
#include "wx/colordlg.h"
#include "wx/filedlg.h"
#include "wx/dirdlg.h"