New C++ Class Window
Posted: Wed Dec 03, 2008 2:27 am
I noticed that the file name for a new C++ class is set to lower case even if you entered an uppercase class name. Is there a reason for this? Shouldn't it match what is entered for the class name?
Thanks
Brian
Code: Select all
wxString NewClassDlg::GetClassFile()
{
if(m_checkBoxEnterFileName->IsChecked()) {
return m_textCtrlFileName->GetValue();
} else {
wxString fileName(m_textClassName->GetValue());
fileName.MakeLower();
return fileName;
}
}
Brian