git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20314
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
size_t len = timeString.length();
if ( timeString.CmpNoCase(wxString(time, len)) == 0 )
{
size_t len = timeString.length();
if ( timeString.CmpNoCase(wxString(time, len)) == 0 )
{
- Set(stdTimes[n].hour, 0, 0);
+ // casts required by DigitalMars
+ Set(stdTimes[n].hour, wxDateTime_t(0), wxDateTime_t(0));
#endif //WX_PRECOMP
// FreeBSD & Watcom require this, it probably doesn't hurt for others
#endif //WX_PRECOMP
// FreeBSD & Watcom require this, it probably doesn't hurt for others
-#if defined(__UNIX__) || defined(__WATCOMC__)
+#if defined(__UNIX__) || defined(__WATCOMC__) || defined(__DIGITALMARS__)
#include <sys/types.h>
#endif
#include <sys/types.h>
#endif
#include "wx/slider.h"
#endif
#include "wx/slider.h"
#endif
-#if wxUSE_SPINCTRL && !defined(__WIN16__)
-#endif
-#if wxUSE_SPINBTN && !defined(__WIN16__)
#include "wx/spinbutt.h"
#endif
#include "wx/spinbutt.h"
#endif
-#if wxUSE_CHECKLISTBOX && !defined(__WIN16__)
#include "wx/checklst.h"
#endif
#include "wx/checklst.h"
#endif
// VS: this is needed because the event handler is called from wxTreeCtrl
// ctor when wxTR_HIDE_ROOT was specified
// VS: this is needed because the event handler is called from wxTreeCtrl
// ctor when wxTR_HIDE_ROOT was specified
+
+ if (!m_rootId.IsOk())
+
m_rootId = m_treeCtrl->GetRootItem();
ExpandDir(parentId);
m_rootId = m_treeCtrl->GetRootItem();
ExpandDir(parentId);
include $(WXDIR)\src\makesc.env
$(TARGET).exe: $(TARGET).obj $(TARGET).res
include $(WXDIR)\src\makesc.env
$(TARGET).exe: $(TARGET).obj $(TARGET).res
- link $(LDFLAGS) $*, $@, $*, $(LIBS)
+ link $(LDFLAGS) /DELEXECUTABLE /RC $*, $@, $*, $(LIBS)
ARCHINCDIR = $(WXDIR)\lib\$(SC_SUFFIX)
LIBDIR = $(WXDIR)\lib
WXLIB = $(LIBDIR)\wx$(SC_SUFFIX).lib
ARCHINCDIR = $(WXDIR)\lib\$(SC_SUFFIX)
LIBDIR = $(WXDIR)\lib
WXLIB = $(LIBDIR)\wx$(SC_SUFFIX).lib
+WINSOCKLIB = $(LIBDIR)\winsock$(SC_SUFFIX).lib
+SUPPORTLIBS = $(LIBDIR)\png$(SC_SUFFIX).lib $(LIBDIR)\tiff$(SC_SUFFIX).lib $(LIBDIR)\jpeg$(SC_SUFFIX).lib $(LIBDIR)\zlib$(SC_SUFFIX).lib
SRCSUFF = cpp
OBJSUFF = obj
SRCSUFF = cpp
OBJSUFF = obj
-# WIN16 settings
-#CFLAGS = -Jm -ml -W -D__WXMSW__ -D__SC__ -D__WXDEBUG__ -D__WINDOWS__ -D__WIN16__ $(EXTRACPPFLAGS)
-#LINKER = link
-#LDFLAGS = -ml -W -L$(LINKER).exe $(EXTRALDFLAGS)
-#LIBS=$(WXLIB) $(EXTRALIBS) libw.lib commdlg.lib ddeml.lib shell.lib # $(LIB)\ctl3dv2.lib
-#DEFFILE=sc16.def
-
# WIN32 settings
# -H ... fix to use directory
CFLAGS = -o -mn -W -H -D__NT__ -DWIN32 -D__WIN32__ -D__WIN95__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
LINKER = link
# WIN32 settings
# -H ... fix to use directory
CFLAGS = -o -mn -W -H -D__NT__ -DWIN32 -D__WIN32__ -D__WIN95__ -D__WINDOWS__ -D__WXMSW__ -D__SC__ -D__WXDEBUG__ $(EXTRACPPFLAGS)
LINKER = link
-LDFLAGS = /DELEXECUTABLE /RC $(EXTRALDFLAGS)
-LIBS=$(WXLIB) $(EXTRALIBS) advapi32 comctl32 comdlg32 ctl3d32 gc gdi32 kernel32 ole32 oleaut32 snn user32 uuid
+LDFLAGS = $(EXTRALDFLAGS)
+LIBS=$(WXLIB) $(EXTRALIBS) $(SUPPORTLIBS) advapi32 comctl32 comdlg32 ctl3d32 gc gdi32 kernel32 ole32 oleaut32 snn user32 uuid $(WINSOCKLIB)
DEFFILE=sc32.def
.$(SRCSUFF).obj:
DEFFILE=sc32.def
.$(SRCSUFF).obj:
@if not exist $(ARCHINCDIR)\wx\setup.h copy $(MSWINCDIR)\setup.h $(ARCHINCDIR)\wx\setup.h
MAKEWINSOCKLIB:
@if not exist $(ARCHINCDIR)\wx\setup.h copy $(MSWINCDIR)\setup.h $(ARCHINCDIR)\wx\setup.h
MAKEWINSOCKLIB:
- implib /system /v /suffix /Ic:\wx\dm\include\win32 $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll
+ @if not exist $(WINSOCKLIB) implib /s $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll
+## implib /system /v /suffix /Ic:\wx\dm\include\win32 $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll
## implib /s $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll
##@if not exist $(WINSOCKLIB)
## implib /s $(WINSOCKLIB) $(WINDIR)\system32\winsock.dll
##@if not exist $(WINSOCKLIB)
+#if defined (__SC__) && !defined (__DMC__)
+ #define __SYMANTEC__
+#endif
+
-#if defined(__PPCC__) || defined(__SC__) || defined(__MRC__)
+#if defined(__PPCC__) || defined(__SYMANTEC__) || defined(__MRC__)
#include <types.h>
#elif !defined(__MWERKS__) && !defined(THINK_C) && !defined(__acornriscos) && !defined(applec)
#include <sys/types.h>
#include <types.h>
#elif !defined(__MWERKS__) && !defined(THINK_C) && !defined(__acornriscos) && !defined(applec)
#include <sys/types.h>
* additional includes are also done to pull in the
* appropriate definitions we're looking for.
*/
* additional includes are also done to pull in the
* appropriate definitions we're looking for.
*/
-#if defined(__MWERKS__) || defined(THINK_C) || defined(__PPCC__) || defined(__SC__) || defined(__MRC__)
+#if defined(__MWERKS__) || defined(THINK_C) || defined(__PPCC__) || defined(__SYMANTEC__) || defined(__MRC__)
#include <stdlib.h>
#define BSDTYPES
#define HAVE_UNISTD_H 0
#include <stdlib.h>
#define BSDTYPES
#define HAVE_UNISTD_H 0
* stack (when coerced by the compiler).
*/
/* Note: on MacPowerPC "extended" is undefined. So only use it for 68K-Macs */
* stack (when coerced by the compiler).
*/
/* Note: on MacPowerPC "extended" is undefined. So only use it for 68K-Macs */
-#if defined(__SC__) || defined(THINK_C)
+#if defined(__SYMANTEC__) || defined(THINK_C)
typedef extended dblparam_t;
#else
typedef double dblparam_t;
typedef extended dblparam_t;
#else
typedef double dblparam_t;