#include "wx/numdlg.h"
// ----------------------------------------------------------------------------
-// ressources
+// resources
// ----------------------------------------------------------------------------
+
// the application icon
-#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__)
- #include "mondrian.xpm"
+#if !defined(__WXMSW__) && !defined(__WXPM__)
+ #include "../sample.xpm"
#endif
// ----------------------------------------------------------------------------
: wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size)
{
// set the frame icon
- SetIcon(wxICON(mondrian));
+ SetIcon(wxICON(sample));
// create a menu bar
wxMenu *menuFile = new wxMenu;
// ... 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++ )