Added wxDllWidget from Vaclav Slavik which allows wx widgets derived

from wxWindow to be loaded from a C++ .dll (or .so) and be used in a
wxPython program, without the widget having to be SWIGged first.

Various updates for distribs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-12-06 19:59:37 +00:00
parent d30f093006
commit 4a61305d36
14 changed files with 1218 additions and 5 deletions

View File

@@ -0,0 +1,19 @@
CXX = c++
CXXFLAGS = `wx-config --cxxflags` -fPIC -I.
LDFLAGS = `wx-config --libs`
all: test_prg test_dll.so
test_prg: dllwidget.o test_prg.o
$(CXX) $(LDFLAGS) -o $@ dllwidget.o test_prg.o
test_dll.so: test_dll.o
$(CXX) $(LDFLAGS) -shared -o $@ $<
%.o : %.cpp
$(CXX) -c $(CXXFLAGS) -o $@ $<
clean:
rm -f *.o *.so test_prg