[idd] helper: add mode save button

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2025-11-07 00:28:20 +11:00
1 parent 124b4742e0
commit bf77128053
5 files changed
+44 -8

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#include "CButton.h"
#include <commctrl.h>
#include <CDebug.h>
CButton::CButton(LPCWSTR title, DWORD style, HWND parent)
{
m_hwnd = createWindowSimple(WC_BUTTON, title, style, parent);
if (!m_hwnd)
DEBUG_ERROR_HR(GetLastError(), "Failed to create button");
}