X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c067fe3c1e752658c63b4d556eb6a5468213860..f600738e8f6da6a965cfb717efdb9bb17122f168:/contrib/utils/convertrc/wxr2xml.cpp diff --git a/contrib/utils/convertrc/wxr2xml.cpp b/contrib/utils/convertrc/wxr2xml.cpp index ff46932f3b..cbef29444b 100644 --- a/contrib/utils/convertrc/wxr2xml.cpp +++ b/contrib/utils/convertrc/wxr2xml.cpp @@ -1,7 +1,7 @@ // wxr2xml.cpp: implementation of the wxr2xml class. // 8/30/00 Brian Gavin // only tested on wxMSW so far -//License: wxWindows Liscense +// License: wxWindows Liscense // //////////////////////////////////////////////////////////////////// /* @@ -31,12 +31,10 @@ trans->Convert("Myfile.wxr","Myfile.xml"); wxr2xml::wxr2xml() { - } wxr2xml::~wxr2xml() { - } bool wxr2xml::Convert(wxString wxrfile, wxString xmlfile) @@ -424,8 +422,10 @@ wxString wxr2xml::GetStyles(wxItemResource * res) s += _T("wxCAPTION|"); if (style & wxRESIZE_BORDER) s += _T("wxRESIZE_BORDER|"); +#if WXWIN_COMPATIBILITY_2_6 if (style & wxRESIZE_BOX) s += _T("wxRESIZE_BOX|"); +#endif // WXWIN_COMPATIBILITY_2_6 if (style & wxRESIZE_BORDER) s += _T("wxRESIZE_BORDER|"); if (style & wxSYSTEM_MENU) @@ -466,8 +466,6 @@ wxString wxr2xml::GetStyles(wxItemResource * res) s += _T("wxGA_HORIZONTAL|"); if (style & wxGA_VERTICAL) s += _T("wxGA_VERTICAL|"); - if (style & wxGA_PROGRESSBAR) - s += _T("wxGA_PROGRESSBAR|"); // windows only if (style & wxGA_SMOOTH) s += _T("wxGA_SMOOTH|");