// Copyright:
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
- #pragma implementation "styles.cpp"
-#endif
-
// For compilers that support precompilation
#include "wx/wxprec.h"
// Include private headers
#include "styles.h"
+#ifndef __WXMSW__
+ #include "../../sample.xpm"
+#endif
+
//------------------------------------------------------------------------------
// MyFrame
//------------------------------------------------------------------------------
const wxPoint &position, const wxSize& size, long style ) :
wxFrame( parent, id, title, position, size, style )
{
+ SetIcon(wxICON(sample));
+
// Create menu and status bar.
CreateMyMenuBar();
#if wxUSE_STATUSBAR
bool MyApp::OnInit()
{
+ if ( !wxApp::OnInit() )
+ return false;
+
wxInitAllImageHandlers();
SetVendorName(_T("Free world"));