Hardware defines spec.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
|
||||||
#ifndef __SMARTPHONE__
|
#ifndef __SMARTPHONE__ /* of WinCE */
|
||||||
#include <commdlg.h>
|
#include <commdlg.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -749,7 +749,7 @@ const wxChar *wxSysErrorMsg(unsigned long nErrCode)
|
|||||||
|
|
||||||
// copy it to our buffer and free memory
|
// copy it to our buffer and free memory
|
||||||
// Crashes on SmartPhone
|
// Crashes on SmartPhone
|
||||||
#if !defined(__SMARTPHONE__)
|
#if !defined(__SMARTPHONE__) /* of WinCE */
|
||||||
if( lpMsgBuf != 0 ) {
|
if( lpMsgBuf != 0 ) {
|
||||||
wxStrncpy(s_szBuf, (const wxChar *)lpMsgBuf, WXSIZEOF(s_szBuf) - 1);
|
wxStrncpy(s_szBuf, (const wxChar *)lpMsgBuf, WXSIZEOF(s_szBuf) - 1);
|
||||||
s_szBuf[WXSIZEOF(s_szBuf) - 1] = wxT('\0');
|
s_szBuf[WXSIZEOF(s_szBuf) - 1] = wxT('\0');
|
||||||
|
Reference in New Issue
Block a user