#! Purpose: tmake template file from which makefile.wat is generated by running
#! tmake -t wat wxwin.pro -o makefile.wat
#! TODO:
-#! - unzip.c must be compiled with $(CC), not $(CCC).
+#! - extended.c, unzip.c must be compiled with $(CC), not $(CCC).
#! - extended.c, unzip.c targets must be as per b32.t etc.
#! - OLE files not generated correctly (need 'ole/' directory)
#! Author: Vadim Zeitlin
#define wxUSE_ODBC 0
#endif
+#if defined(__WXMSW__) && defined(__WATCOMC__)
+#undef wxUSE_ODBC
+#define wxUSE_ODBC 0
+
+#undef wxUSE_LIBJPEG
+#define wxUSE_LIBJPEG 0
+#endif
+
#if defined(__WXMSW__) && !defined(__WIN32__)
#undef wxUSE_THREADS
LIBS = $(WXDIR)\lib\wx.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\png.lib $(WXDIR)\lib\xpm.lib &
$(WATLIBDIR)\comctl32.lib $(WATLIBDIR)\comdlg32.lib &
$(WATLIBDIR)\ole32.lib $(WATLIBDIR)\oleaut32.lib &
- $(WATLIBDIR)\uuid.lib # $(WATLIBDIR)\odbc32.lib
+ $(WATLIBDIR)\uuid.lib $(WATLIBDIR)\odbc32.lib
IFLAGS = -i=$(WXINC) -i=$(%watcom)\h;$(%watcom)\h\nt;$(WXDIR)\src\png;$(WXDIR)\src\zlib;$(WXDIR)\src\jpeg;$(WXDIR)\include\wx\msw\gnuwin32
RESFLAGS1 = -r -bt=nt /i$(WXDIR)\include
RESFLAGS2 = -R $(name) /i$(WXDIR)\include
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
gsocket.obj: $(MSWDIR)\gsocket.c
- *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+ *$(CC) $(CPPFLAGS) $(IFLAGS) $<
helpwin.obj: $(MSWDIR)\helpwin.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
nativdlg.obj: $(MSWDIR)\nativdlg.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-oleutils.obj: $(MSWDIR)\oleutils.cpp
+oleutils.obj: $(MSWDIR)\ole\oleutils.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
ownerdrw.obj: $(MSWDIR)\ownerdrw.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
extended.obj: $(COMMDIR)\extended.c
- *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+ *$(CC) $(CPPFLAGS) $(IFLAGS) $<
ffile.obj: $(COMMDIR)\ffile.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
dc.Blit(rc.x + (GetMarginWidth() - nBmpWidth) / 2,
rc.y + (m_nHeight - nBmpHeight) /2,
nBmpWidth, nBmpHeight,
- &dcMem, 0, 0, wxCOPY,true);
+ &dcMem, 0, 0, wxCOPY, TRUE);
if ( st & wxODSelected ) {
#ifdef O_DRAW_NATIVE_API
bool wxSpinButton::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
{
#ifndef __GNUWIN32__
-#ifdef __BORLANDC__
+#if defined(__BORLANDC__) || defined(__WATCOMC__)
LPNM_UPDOWN lpnmud = (LPNM_UPDOWN)lParam;
#elif defined(__VISUALC__) && (__VISUALC__ == 1010)
LPNM_UPDOWN lpnmud = (LPNM_UPDOWN)lParam;
# End Source File
# Begin Source File
+SOURCE=.\common\ctrlsub.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\date.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\lboxcmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\list.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\ctrlsub.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\date.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\lboxcmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\list.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\ctrlsub.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\date.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\lboxcmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\list.cpp
# End Source File
# Begin Source File