early-access version 1617
This commit is contained in:
@@ -24,15 +24,13 @@
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#else
|
||||
#endif
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ((size_t)-1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
|
||||
#include "SDL_assert.h"
|
||||
#include "SDL_windowsvideo.h"
|
||||
#include "SDL_windowstaskdialog.h"
|
||||
|
||||
@@ -586,7 +584,6 @@ WIN_ShowOldMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
||||
}
|
||||
|
||||
/* Jan 25th, 2013 - dant@fleetsa.com
|
||||
*
|
||||
*
|
||||
* I've tried to make this more reasonable, but I've run in to a lot
|
||||
* of nonsense.
|
||||
@@ -611,8 +608,6 @@ WIN_ShowOldMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
||||
* somewhat correct.
|
||||
*
|
||||
* Honestly, a long term solution is to use CreateWindow, not CreateDialog.
|
||||
*
|
||||
|
||||
*
|
||||
* In order to get text dimensions we need to have a DC with the desired font.
|
||||
* I'm assuming a dialog box in SDL is rare enough we can to the create.
|
||||
|
Reference in New Issue
Block a user