X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae0fbceefad125359fad7223486c1f1035a4c884..d01ad2f5a76ca1c18227e8ded100b8c667213662:/samples/svg/svgtest.cpp?ds=sidebyside diff --git a/samples/svg/svgtest.cpp b/samples/svg/svgtest.cpp index 41aab0358b..4e29ebcb8c 100644 --- a/samples/svg/svgtest.cpp +++ b/samples/svg/svgtest.cpp @@ -1,12 +1,3 @@ -// biol75@york.ac.uk (Chris Elliott) March 2000 - -#ifdef __BIDE__ -#define _NO_VCL -#include "condefs.h" -USERC("svg.rc"); -//--------------------------------------------------------------------------- -#define WinMain WinMain -#endif ///////////////////////////////////////////////////////////////////////////// // Name: svgtest.cpp // Purpose: SVG sample @@ -37,7 +28,7 @@ USERC("svg.rc"); #endif #include "wx/toolbar.h" -#include "wx/svg/dcsvg.h" +#include "wx/dcsvg.h" #include "mondrian.xpm" @@ -350,7 +341,7 @@ void MyFrame::FileSavePicture (wxCommandEvent & WXUNUSED(event) ) wxFileDialog dialog(this, wxT("Save Picture as"), wxEmptyString, pChild->GetTitle(), wxT("SVG vector picture files (*.svg)|*.svg"), - wxSAVE|wxOVERWRITE_PROMPT); + wxFD_SAVE|wxFD_OVERWRITE_PROMPT); if (dialog.ShowModal() == wxID_OK) {