data:
@mkdir -p .
- @for f in dnd.wxr; do \
+ @for f in wxwin.png dnd.wxr; do \
if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
cp -pRf $(srcdir)/$$f . ; \
fi; \
</exe>
<wx-data id="data">
- <files>dnd.wxr</files>
+ <files>wxwin.png dnd.wxr</files>
</wx-data>
</makefile>
wxImage image;
image.LoadFile( dialog.GetPath(),
-#ifdef __WXMSW__
- wxBITMAP_TYPE_BMP
-#else
+#if wxUSE_LIBPNG
wxBITMAP_TYPE_PNG
+#else
+ wxBITMAP_TYPE_BMP
#endif
);
if (!image.Ok())
data:
if not exist $(OBJS) mkdir $(OBJS)
- for %f in (dnd.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
+ for %f in (wxwin.png dnd.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
$(OBJS)\dnd.exe: $(DND_OBJECTS) $(OBJS)\dnd_dnd.res
ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
data:
if not exist $(OBJS) mkdir $(OBJS)
- for %%f in (dnd.wxr) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
+ for %%f in (wxwin.png dnd.wxr) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
$(OBJS)\dnd.exe: $(DND_OBJECTS) $(OBJS)\dnd_dnd_rc.o
$(CXX) -o $@ $(DND_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
data:
if not exist $(OBJS) mkdir $(OBJS)
- for %f in (dnd.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
+ for %f in (wxwin.png dnd.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
$(OBJS)\dnd.exe: $(DND_OBJECTS) $(OBJS)\dnd_dnd.res
link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
data : .SYMBOLIC
if not exist $(OBJS) mkdir $(OBJS)
- for %f in (dnd.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
+ for %f in (wxwin.png dnd.wxr) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
$(OBJS)\dnd.exe : $(DND_OBJECTS) $(OBJS)\dnd_dnd.res
@%create $(OBJS)\dnd.lbc