Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, !!/!IsEmpty(), TRUE/true. FALSE/false, tabs, whitespaces.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-09-07 11:11:05 +00:00
parent db5cf2b04a
commit 27d2dbbcca
11 changed files with 122 additions and 122 deletions

View File

@@ -1,7 +1,7 @@
///////////////////////////////////////////////////////////////////////////////
// Name: src/msw/uxtheme.cpp
// Purpose: implements wxUxThemeEngine class: support for XP themes
// Author:
// Author:
// Modified by:
// Created: 2003
// RCS-ID: $Id$
@@ -49,11 +49,11 @@
class wxUxThemeModule : public wxModule
{
public:
virtual bool OnInit() { return true; }
virtual void OnExit()
{
if ( wxUxThemeEngine::ms_themeEngine )
{
virtual bool OnInit() { return true; }
virtual void OnExit()
{
if ( wxUxThemeEngine::ms_themeEngine )
{
// this is probably not necessary right now but try to be careful
// and avoid the problems which we might have if someone ever
// decides to show a message box using the theme engine from
@@ -63,12 +63,12 @@ public:
wxUxThemeEngine::ms_themeEngine = NULL;
wxUxThemeEngine::ms_isThemeEngineAvailable = false;
delete themeEngine;
}
}
delete themeEngine;
}
}
DECLARE_DYNAMIC_CLASS(wxUxThemeModule)
DECLARE_DYNAMIC_CLASS(wxUxThemeModule)
};
IMPLEMENT_DYNAMIC_CLASS(wxUxThemeModule, wxModule)
@@ -114,7 +114,7 @@ bool wxUxThemeEngine::Initialize()
// themes
return false;
}
// we're prepared to handle the errors
wxLogNull noLog;