#endif
#ifndef WX_PRECOMP
+ #include "wx/msw/wrapcdlg.h"
#include "wx/image.h"
#include "wx/window.h"
#include "wx/dc.h"
#include "wx/log.h"
#include "wx/icon.h"
#include "wx/dcprint.h"
+ #include "wx/module.h"
#endif
#include "wx/sysopt.h"
-#include "wx/module.h"
#include "wx/dynlib.h"
#ifdef wxHAVE_RAW_BITMAP
#include <string.h>
-#include "wx/msw/wrapcdlg.h"
#ifndef __WIN32__
#include <print.h>
#endif
{
// Win9x and WinNT+ have different limits
int version = wxGetOsVersion();
- maxLenText = version == wxWINDOWS_NT ? 65535 : 8192;
- maxWidth = version == wxWINDOWS_NT ? INT_MAX : 32767;
+ maxLenText = version == wxOS_WINDOWS_NT ? 65535 : 8192;
+ maxWidth = version == wxOS_WINDOWS_NT ? INT_MAX : 32767;
}
widths.Empty();