mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2025-06-16 11:41:47 -07:00
Day 1 complete.
This commit is contained in:
@ -7,5 +7,7 @@ int CALLBACK WinMain(
|
||||
int nShowCmd
|
||||
)
|
||||
{
|
||||
MessageBox( 0, L"First message!", L"Handmade Hero", MB_OK | MB_ICONINFORMATION );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -3,4 +3,10 @@ Alternative header for windows.h
|
||||
*/
|
||||
|
||||
#include "windows/windows_base.h"
|
||||
#include "windows/window.h"
|
||||
|
||||
#ifdef UNICODE
|
||||
constexpr auto MessageBox = MessageBoxW;
|
||||
#else
|
||||
constexpr auto MessageBox = MessageBoxA;
|
||||
#endif // !UNICODE
|
||||
|
Reference in New Issue
Block a user