#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/log.h"
- #include "wx/panel.h"
#include "wx/frame.h"
#include "wx/button.h"
#include "wx/checkbox.h"
bool WidgetsApp::OnInit()
{
+ if ( !wxApp::OnInit() )
+ return FALSE;
+
// the reason for having these ifdef's is that I often run two copies of
// this sample side by side and it is useful to see which one is which
wxString title;
#if defined(__WXUNIVERSAL__)
- title = _T("wxUniv/")
+ title = _T("wxUniv/");
#endif
#if defined(__WXMSW__)