Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// Created: 2001-07-10
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
@@ -74,7 +74,7 @@ wxArrayString wxSystemOptionsModule::sm_optionValues;
|
||||
|
||||
bool wxSystemOptionsModule::OnInit()
|
||||
{
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
void wxSystemOptionsModule::OnExit()
|
||||
@@ -90,7 +90,7 @@ void wxSystemOptionsModule::OnExit()
|
||||
// Option functions (arbitrary name/value mapping)
|
||||
void wxSystemOptions::SetOption(const wxString& name, const wxString& value)
|
||||
{
|
||||
int idx = wxSystemOptionsModule::sm_optionNames.Index(name, FALSE);
|
||||
int idx = wxSystemOptionsModule::sm_optionNames.Index(name, false);
|
||||
if (idx == wxNOT_FOUND)
|
||||
{
|
||||
wxSystemOptionsModule::sm_optionNames.Add(name);
|
||||
@@ -112,7 +112,7 @@ void wxSystemOptions::SetOption(const wxString& name, int value)
|
||||
|
||||
wxString wxSystemOptions::GetOption(const wxString& name)
|
||||
{
|
||||
int idx = wxSystemOptionsModule::sm_optionNames.Index(name, FALSE);
|
||||
int idx = wxSystemOptionsModule::sm_optionNames.Index(name, false);
|
||||
if (idx == wxNOT_FOUND)
|
||||
return wxEmptyString;
|
||||
else
|
||||
@@ -126,7 +126,7 @@ int wxSystemOptions::GetOptionInt(const wxString& name)
|
||||
|
||||
bool wxSystemOptions::HasOption(const wxString& name)
|
||||
{
|
||||
return (wxSystemOptionsModule::sm_optionNames.Index(name, FALSE) != wxNOT_FOUND);
|
||||
return (wxSystemOptionsModule::sm_optionNames.Index(name, false) != wxNOT_FOUND);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user