mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-13 19:48:13 +00:00
[idd] helper: add mode save button
This commit is contained in:
10
idd/LGIddHelper/CButton.cpp
Normal file
10
idd/LGIddHelper/CButton.cpp
Normal 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");
|
||||
}
|
||||
Reference in New Issue
Block a user