summaryrefslogtreecommitdiff
path: root/widgetfactory.cpp
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2019-01-04 16:15:33 +0100
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2019-01-04 16:15:33 +0100
commit3271b043f89966a8c33bdd2de4e93a4428c0488d (patch)
tree562cea601ced128f741201e9f24d0ea19a28b90f /widgetfactory.cpp
parent69e851e60e98dd45359dc942fb332b5de6ffccfe (diff)
improve label display on Win32s/NT3.x and make it actually run on NT 3.1
NT 3.1 doesn't have GetSysColorBrush(), and the label display isn't broken enough for us to worry about it, since we're gonna replace it anyway at some point
Diffstat (limited to 'widgetfactory.cpp')
-rw-r--r--widgetfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgetfactory.cpp b/widgetfactory.cpp
index 7956d5c..f3776f2 100644
--- a/widgetfactory.cpp
+++ b/widgetfactory.cpp
@@ -149,7 +149,7 @@ WinMain
ALF_AddLabel(win, ID_LBL6, 0, 5, TEXT("[ComboBox2 value]"));
ALF_RecalculateLayout(win);
- ALF_SetDefaultButton(win, ID_B1);
+ ALF_SetDefaultButton(win, ID_B2);
ALF_ComboBoxSetText(hwndCombo2, TEXT("Goodbye World!"));