// ----------------------------------------------------------------------------
// the application icon
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
menuFile->Append(Caret_SetFontSize, wxT("&Font size...\tCtrl-S"));
menuFile->Append(Caret_Move, wxT("&Move caret\tCtrl-C"));
menuFile->AppendSeparator();
- menuFile->Append(Caret_About, wxT("&About...\tCtrl-A"), wxT("Show about dialog"));
+ menuFile->Append(Caret_About, wxT("&About\tCtrl-A"), wxT("Show about dialog"));
menuFile->AppendSeparator();
menuFile->Append(Caret_Quit, wxT("E&xit\tAlt-X"), wxT("Quit this program"));
// ... and attach this menu bar to the frame
SetMenuBar(menuBar);
-
+
m_canvas = new MyCanvas(this);
#if wxUSE_STATUSBAR
wxPaintDC dc( this );
PrepareDC( dc );
dc.Clear();
-
+
dc.SetFont( m_font );
for ( int y = 0; y < m_yChars; y++ )