+// For compilers that support precompilation, includes "wx/wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#include <wx/wx.h>
+#endif
+
#include <wx/frame.h>
class myApp : public wxApp
{
#endif
- wxWindows *frame = new wxFrame(this , _T("My window.."));
+ wxFrame *frame = new wxFrame(NULL , -1 ,_T("My window.."));
SetTopWindow(frame);
frame->Show(true);