From dd29a76510b5abb0535d910a591094aa336c8d58 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 8 Mar 2007 15:10:29 +0000 Subject: * Reset the default style to Windows Style for now. * Fixed the WidgetDemo example to use the new features of the Style Manager. --- gui/stylemanager.pas | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gui/stylemanager.pas') diff --git a/gui/stylemanager.pas b/gui/stylemanager.pas index 8e2c0ba5..7c66d839 100644 --- a/gui/stylemanager.pas +++ b/gui/stylemanager.pas @@ -14,7 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. } -unit stylemanager; +unit StyleManager; {$mode objfpc}{$H+} @@ -207,8 +207,7 @@ end; initialization -// gStyleManager.RegisterClass(cDefaultStyle, TWindowsStyle); - gStyleManager.RegisterClass(cDefaultStyle, TOpenSoftStyle); + gStyleManager.RegisterClass(cDefaultStyle, TWindowsStyle); gStyleManager.RegisterClass('Windows', TWindowsStyle); gStyleManager.RegisterClass('OpenSoft', TOpenSoftStyle); gStyleManager.RegisterClass('Motif', TMotifStyle); -- cgit v1.2.3-70-g09d2