#include "wx/splitter.h"
#include "wx/dcmirror.h"
+#ifndef __WXMSW__
+ #include "../sample.xpm"
+#endif
+
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
virtual bool OnInit();
- DECLARE_NO_COPY_CLASS(MyApp)
+ wxDECLARE_NO_COPY_CLASS(MyApp);
};
class MyFrame: public wxFrame
wxWindow *m_replacewindow;
DECLARE_EVENT_TABLE()
- DECLARE_NO_COPY_CLASS(MyFrame)
+ wxDECLARE_NO_COPY_CLASS(MyFrame);
};
class MySplitterWindow : public wxSplitterWindow
wxFrame *m_frame;
DECLARE_EVENT_TABLE()
- DECLARE_NO_COPY_CLASS(MySplitterWindow)
+ wxDECLARE_NO_COPY_CLASS(MySplitterWindow);
};
class MyCanvas: public wxScrolledWindow
private:
bool m_mirror;
- DECLARE_NO_COPY_CLASS(MyCanvas)
+ wxDECLARE_NO_COPY_CLASS(MyCanvas);
};
// ============================================================================
wxDefaultPosition, wxSize(420, 300),
wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE)
{
+ SetIcon(wxICON(sample));
+
#if wxUSE_STATUSBAR
CreateStatusBar(2);
#endif // wxUSE_STATUSBAR