diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-05-06 00:13:31 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-05-06 00:13:31 +0200 |
commit | 0a0169338b275e020ba40c50f57d7e7d4ca77cb1 (patch) | |
tree | 4cd9f01f1101472cbc2644793f5bdecf382e5eb1 | |
parent | fc9b564011e699133fe1301b5088cb362e7cb6b0 (diff) | |
download | fpGUI-0a0169338b275e020ba40c50f57d7e7d4ca77cb1.tar.xz |
make the Style Manager available in the fpg_main unit.
This is a bit of a cross-linking case, jumping from corelib code to gui code,
but I can't see how this can be done any other way. After all, fpGUI is a
GUI toolkit - not a non-gui utility library.
For some strange reason the 'Win2000' and 'auto' did not register automatically,
even though they are in the *.lpk package and in the initialization section.
So I had to add that style unit to the uses clause. I need to investigate
why this had to be done.
-rw-r--r-- | src/corelib/fpg_main.pas | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas index d6dc7410..db86eded 100644 --- a/src/corelib/fpg_main.pas +++ b/src/corelib/fpg_main.pas @@ -478,7 +478,9 @@ uses fpg_extgraphics, fpg_utils, fpg_cmdlineparams, - fpg_imgutils; + fpg_imgutils, + fpg_stylemanager, + fpg_style_win2k; // TODO: This needs to be removed! var fpgTimers: TList; |