]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/fractal/fractal.cpp
Applied patch [ 872338 ] Minor fixes to forty, fractal and poem demos
[wxWidgets.git] / demos / fractal / fractal.cpp
index dfe30d983e4fb2454fca0bc5c797e46d38a4a1a2..37e8a6fdea46ad349207cf9c824aa572c1e11647 100644 (file)
@@ -34,6 +34,10 @@ hack doesn't fix.
 
 #include "wx/wxprec.h"
 
+#ifdef __BORLANDC__
+    #pragma hdrstop
+#endif
+
 #ifndef  WX_PRECOMP
   #include "wx/wx.h"
 #endif //precompiled headers
@@ -117,7 +121,7 @@ END_EVENT_TABLE()
 
 // My frame constructor
 MyFrame::MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size):
-  wxFrame(frame, -1, title, pos, size)
+  wxFrame(frame, -1, title, pos, size, wxDEFAULT_FRAME_STYLE | wxFULL_REPAINT_ON_RESIZE)
 {
 }