Added new image for dnd sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -106,7 +106,7 @@ clean:
|
||||
|
||||
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; \
|
||||
|
@@ -11,7 +11,7 @@
|
||||
</exe>
|
||||
|
||||
<wx-data id="data">
|
||||
<files>dnd.wxr</files>
|
||||
<files>wxwin.png dnd.wxr</files>
|
||||
</wx-data>
|
||||
|
||||
</makefile>
|
||||
|
@@ -1216,10 +1216,10 @@ void DnDFrame::OnCopyBitmap(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
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())
|
||||
|
@@ -166,7 +166,7 @@ clean:
|
||||
|
||||
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 @&&|
|
||||
|
@@ -159,7 +159,7 @@ clean:
|
||||
|
||||
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
|
||||
|
@@ -229,7 +229,7 @@ clean:
|
||||
|
||||
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 @<<
|
||||
|
@@ -195,7 +195,7 @@ clean : .SYMBOLIC
|
||||
|
||||
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
|
||||
|
BIN
samples/dnd/wxwin.png
Normal file
BIN
samples/dnd/wxwin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user