Files
LookingGlass/idd/LGIddHelper/CButton.cpp
Geoffrey McRae e9b7bdfea1 Revert "[all] refresh copyright"
Corrupted IDD sources due to lack of UTF-8 with BOM support in the
script.
2026-05-31 15:10:44 +10:00

11 lines
271 B
C++

#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");
}