X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7e3abf70f43e8252dfe10bc2f9c81b5c487f262..4614c8e52801a1565198f352fdfc26ef9d3e5e5c:/contrib/utils/convertrc/rc2wxr.cpp diff --git a/contrib/utils/convertrc/rc2wxr.cpp b/contrib/utils/convertrc/rc2wxr.cpp index 4a69441413..4a44fb84c8 100644 --- a/contrib/utils/convertrc/rc2wxr.cpp +++ b/contrib/utils/convertrc/rc2wxr.cpp @@ -10,11 +10,6 @@ not be used much longer. This code was used as a starting point for my rc2xml converter */ -#ifdef __GNUG__ -#pragma implementation "rc2wxr.cpp" -#pragma interface "rc2wxr.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -158,7 +153,7 @@ wxFprintf(m_wxr,_T("static char *dialog%i = \"dialog(name = '%s',\\\n"),dlgid,dl //be lazy about style for now. add it later -wxFprintf(m_wxr,_T("style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\\\n")); +wxFprintf(m_wxr,_T("style = 'wxRAISED_BORDER | wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU',\\\n")); wxFprintf(m_wxr,_T("id = %i,\\\n"),dlgid); //Record x,y,width,height @@ -400,7 +395,7 @@ wxFprintf(m_wxr,_T("[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']], -bool rc2wxr::Seperator(int ch) +bool rc2wxr::Separator(int ch) { @@ -514,7 +509,7 @@ return tok; -while (Seperator(ch)) +while (Separator(ch)) { @@ -542,7 +537,7 @@ m_done=true; -while (!Seperator(ch)) +while (!Separator(ch)) { @@ -800,4 +795,3 @@ void rc2wxr::ParseCtrlButton(wxString label, wxString varname) wxFprintf(m_wxr,_T("[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n")); } } -