add SetNativeTheme() (slightly modified patch 1884553)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-02-27 17:46:14 +00:00
parent 28dd9a9d03
commit c50c6fb23b
5 changed files with 43 additions and 1 deletions

View File

@@ -279,7 +279,8 @@ All (GUI):
- Made wxSizer::Fit() set the client size of the target window
- Add support for wxDatePickerCtrl in wxGenericValidator (Herry Ayen Yang)
- Added wxWindow::HasFocus().
- Added wxGLCanvas::IsDisplaySupported()
- Added wxGLCanvas::IsDisplaySupported().
- Added wxApp::SetNativeTheme() (Stefan H.).
wxGTK:

View File

@@ -734,6 +734,19 @@ know what you're doing if you call it.
\helpref{wxApp::GetInstance}{wxappgetinstance}
\membersection{wxApp::SetNativeTheme}\label{wxappsetnativetheme}
\func{bool}{SetNativeTheme}{\param{const}{wxString\&}{theme}}
Allows runtime switching of the UI environment theme. Currently implemented for wxGTK2-only.
Return \true if theme was successfully changed.
\wxheading{Parameters}
\docparam{theme}{The name of the new theme or an absolute path to a gtkrc-theme-file}
\membersection{wxApp::SetTopWindow}\label{wxappsettopwindow}
\func{void}{SetTopWindow}{\param{wxWindow* }{window}}