summaryrefslogtreecommitdiff
path: root/alf/alf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alf.cpp')
-rw-r--r--alf/alf.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/alf/alf.cpp b/alf/alf.cpp
index 8929a5b..641baec 100644
--- a/alf/alf.cpp
+++ b/alf/alf.cpp
@@ -45,13 +45,8 @@ ALF_Initialize(void)
ALF_LoadCompatFunctions();
- ALF_RegisterComboClass();
- ALF_RegisterPanelClass();
- ALF_RegisterLabelClass();
- ALF_RegisterNotebookClass();
- ALF_RegisterButtonClass();
- ALF_RegisterGroupBoxClass();
ALF_RegisterWindowClass();
+ ALF_RegisterControlClass();
ALF_Compat_BufferedPaintInit();
}
@@ -72,13 +67,8 @@ ALF_UnInitialize(void)
if (!--_alf_initCounter) {
ALF_Compat_BufferedPaintUnInit();
- UnregisterClass(_alf_comboClass, ALF_HINSTANCE);
- UnregisterClass(_alf_panelClass, ALF_HINSTANCE);
- UnregisterClass(_alf_labelClass, ALF_HINSTANCE);
- UnregisterClass(_alf_notebookClass, ALF_HINSTANCE);
- UnregisterClass(_alf_buttonClass, ALF_HINSTANCE);
- UnregisterClass(_alf_groupboxClass, ALF_HINSTANCE);
UnregisterClass(_alf_windowClass, ALF_HINSTANCE);
+ UnregisterClass(_alf_controlClass, ALF_HINSTANCE);
ALF_UnloadCompatFunctions();
}