X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/694f70fa9c0cc8889c208020bf75b2e3861f6818..ed0cc9ffec217600c45e91a1dd6f9ac763afcfa7:/contrib/utils/convertrc/rc2wxr.cpp diff --git a/contrib/utils/convertrc/rc2wxr.cpp b/contrib/utils/convertrc/rc2wxr.cpp index af389830d1..4a44fb84c8 100644 --- a/contrib/utils/convertrc/rc2wxr.cpp +++ b/contrib/utils/convertrc/rc2wxr.cpp @@ -10,10 +10,6 @@ not be used much longer. This code was used as a starting point for my rc2xml converter */ -#ifdef __GNUG__ -#pragma implementation "rc2wxr.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -157,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 @@ -399,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) { @@ -513,7 +509,7 @@ return tok; -while (Seperator(ch)) +while (Separator(ch)) { @@ -541,7 +537,7 @@ m_done=true; -while (!Seperator(ch)) +while (!Separator(ch)) { @@ -799,4 +795,3 @@ void rc2wxr::ParseCtrlButton(wxString label, wxString varname) wxFprintf(m_wxr,_T("[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\\\n")); } } -