X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95f913a9d6b8573a033d6beeecbba1227b3f17bb..c4b77901062a456492d851a332e466c86c9283fd:/demos/fractal/fractal.cpp?ds=inline 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) { }