diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-24 21:01:11 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-24 21:01:11 +0200 |
| commit | 0dee09478a7b975b3921478966d4c78b7a032189 (patch) | |
| tree | 07316cf55c87b1eeb11f5e3fa029acf87ccf8678 /alf/alf.cpp | |
| parent | 6280671b1897ac0a47cb7e8f3463d4f60f2490cc (diff) | |
button class redesign
now using completely custom control on NT, and a stripped down owner-drawn
version on Win9x. The old Win3.1 rendering style has been removed, buttons
on NT 3.51 and Win32s will now look like on Win95.
Diffstat (limited to 'alf/alf.cpp')
| -rw-r--r-- | alf/alf.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/alf/alf.cpp b/alf/alf.cpp index 30a998c..917008a 100644 --- a/alf/alf.cpp +++ b/alf/alf.cpp @@ -49,6 +49,7 @@ ALF_Initialize(void) ALF_RegisterPanelClass(); ALF_RegisterLabelClass(); ALF_RegisterNotebookClass(); + ALF_RegisterButtonClass(); ALF_Compat_BufferedPaintInit(); } @@ -73,6 +74,7 @@ ALF_UnInitialize(void) UnregisterClass(_alf_panelClass, ALF_HINSTANCE); UnregisterClass(_alf_labelClass, ALF_HINSTANCE); UnregisterClass(_alf_notebookClass, ALF_HINSTANCE); + UnregisterClass(_alf_buttonClass, ALF_HINSTANCE); ALF_UnloadCompatFunctions(); } |
