X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/babd36de3a0c49b23f41cae0478a3bfba4882aa3..2a47cb1ba2461eb90e0cd4c23dab9bfab065c915:/demos/fractal/fractal.cpp?ds=sidebyside diff --git a/demos/fractal/fractal.cpp b/demos/fractal/fractal.cpp index dfe30d983e..37e8a6fdea 100644 --- a/demos/fractal/fractal.cpp +++ b/demos/fractal/fractal.cpp @@ -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) { }