1 \section{\class{wxSystemOptions
}}\label{wxsystemoptions
}
3 wxSystemOptions stores option/value pairs that wxWindows itself or
4 applications can use to alter behaviour at run-time. It can be
5 used to optimize behaviour that doesn't deserve a distinct API,
6 but is still important to be able to configure.
8 These options are currently recognised by wxWindows:
11 \begin{twocollist
}\itemsep=
0pt
12 \twocolitem{{\bf Option
}}{{\bf Value
}}
13 \twocolitem{no-maskblt
}{1 to never use WIN32's MaskBlt function,
0 to allow it to be used where possible. Default:
0.
15 In some circumstances the MaskBlt function can be slower than using the fallback code, especially if using
16 DC cacheing. By default, MaskBlt will be used where it is implemented by the operating system and driver.
20 The compile-time option to include or exclude this functionality
21 is wxUSE
\_SYSTEM\_OPTIONS.
23 \wxheading{Derived from
}
25 \helpref{wxObject
}{wxobject
}
27 \wxheading{Include files
}
31 \latexignore{\rtfignore{\wxheading{Members
}}}
33 \membersection{wxSystemOptions::wxSystemOptions
}
35 \func{}{wxSystemOptions
}{\void}
37 Default constructor. You don't need to create an instance of wxSystemOptions
38 since all of its functions are static.
40 \membersection{wxSystemOptions::GetOption
}\label{wxsystemoptionsgetoption
}
42 \constfunc{wxString
}{GetOption
}{\param{const wxString\&
}{ name
}}
44 Gets an option. The function is case-insensitive to
{\it name
}.
48 \helpref{wxSystemOptions::SetOption
}{wxsystemoptionssetoption
},
\rtfsp
49 \helpref{wxSystemOptions::GetOptionInt
}{wxsystemoptionsgetoptionint
},
\rtfsp
50 \helpref{wxSystemOptions::HasOption
}{wxsystemoptionshasoption
}
52 \membersection{wxSystemOptions::GetOptionInt
}\label{wxsystemoptionsgetoptionint
}
54 \constfunc{int
}{GetOptionInt
}{\param{const wxString\&
}{ name
}}
56 Gets an option as an integer. The function is case-insensitive to
{\it name
}.
60 \helpref{wxSystemOptions::SetOption
}{wxsystemoptionssetoption
},
\rtfsp
61 \helpref{wxSystemOptions::GetOption
}{wxsystemoptionsgetoption
},
\rtfsp
62 \helpref{wxSystemOptions::HasOption
}{wxsystemoptionshasoption
}
64 \membersection{wxSystemOptions::HasOption
}\label{wxsystemoptionshasoption
}
66 \constfunc{bool
}{HasOption
}{\param{const wxString\&
}{ name
}}
68 Returns TRUE if the given option is present. The function is case-insensitive to
{\it name
}.
72 \helpref{wxSystemOptions::SetOption
}{wxsystemoptionssetoption
},
\rtfsp
73 \helpref{wxSystemOptions::GetOption
}{wxsystemoptionsgetoption
},
\rtfsp
74 \helpref{wxSystemOptions::GetOptionInt
}{wxsystemoptionsgetoptionint
}
76 \membersection{wxSystemOptions::SetOption
}\label{wxsystemoptionssetoption
}
78 \func{void
}{SetOption
}{\param{const wxString\&
}{ name
},
\param{const wxString\&
}{ value
}}
80 \func{void
}{SetOption
}{\param{const wxString\&
}{ name
},
\param{int
}{ value
}}
82 Sets an option. The function is case-insensitive to
{\it name
}.
86 \helpref{wxSystemOptions::GetOption
}{wxsystemoptionsgetoption
},
\rtfsp
87 \helpref{wxSystemOptions::GetOptionInt
}{wxsystemoptionsgetoptionint
},
\rtfsp
88 \helpref{wxSystemOptions::HasOption
}{wxsystemoptionshasoption
}