wx/x11/region.h
@COND_TOOLKIT_MOTIF@LOWLEVEL_HDR = $(COND_TOOLKIT_MOTIF_LOWLEVEL_HDR)
COND_TOOLKIT_MSW_LOWLEVEL_HDR = \
+ wx/msw/nonownedwnd.h \
wx/msw/ole/activex.h \
wx/msw/popupwin.h \
wx/msw/uxtheme.h \
@COND_TOOLKIT_OSX_IPHONE@LOWLEVEL_HDR =
@COND_TOOLKIT_PM@LOWLEVEL_HDR =
COND_TOOLKIT_WINCE_LOWLEVEL_HDR = \
+ wx/msw/nonownedwnd.h \
wx/msw/ole/activex.h \
wx/msw/popupwin.h \
wx/msw/uxtheme.h \
monodll_msw_icon.o \
monodll_msw_imaglist.o \
monodll_msw_minifram.o \
+ monodll_msw_nonownedwnd.o \
monodll_ole_dataobj.o \
monodll_dropsrc.o \
monodll_droptgt.o \
monodll_msw_icon.o \
monodll_msw_imaglist.o \
monodll_msw_minifram.o \
+ monodll_msw_nonownedwnd.o \
monodll_ole_dataobj.o \
monodll_dropsrc.o \
monodll_droptgt.o \
monodll_msw_icon.o \
monodll_msw_imaglist.o \
monodll_msw_minifram.o \
+ monodll_msw_nonownedwnd.o \
monodll_ole_dataobj.o \
monodll_dropsrc.o \
monodll_droptgt.o \
monodll_msw_icon.o \
monodll_msw_imaglist.o \
monodll_msw_minifram.o \
+ monodll_msw_nonownedwnd.o \
monodll_ole_dataobj.o \
monodll_dropsrc.o \
monodll_droptgt.o \
monolib_msw_icon.o \
monolib_msw_imaglist.o \
monolib_msw_minifram.o \
+ monolib_msw_nonownedwnd.o \
monolib_ole_dataobj.o \
monolib_dropsrc.o \
monolib_droptgt.o \
monolib_msw_icon.o \
monolib_msw_imaglist.o \
monolib_msw_minifram.o \
+ monolib_msw_nonownedwnd.o \
monolib_ole_dataobj.o \
monolib_dropsrc.o \
monolib_droptgt.o \
monolib_msw_icon.o \
monolib_msw_imaglist.o \
monolib_msw_minifram.o \
+ monolib_msw_nonownedwnd.o \
monolib_ole_dataobj.o \
monolib_dropsrc.o \
monolib_droptgt.o \
monolib_msw_icon.o \
monolib_msw_imaglist.o \
monolib_msw_minifram.o \
+ monolib_msw_nonownedwnd.o \
monolib_ole_dataobj.o \
monolib_dropsrc.o \
monolib_droptgt.o \
coredll_msw_icon.o \
coredll_msw_imaglist.o \
coredll_msw_minifram.o \
+ coredll_msw_nonownedwnd.o \
coredll_ole_dataobj.o \
coredll_dropsrc.o \
coredll_droptgt.o \
coredll_msw_icon.o \
coredll_msw_imaglist.o \
coredll_msw_minifram.o \
+ coredll_msw_nonownedwnd.o \
coredll_ole_dataobj.o \
coredll_dropsrc.o \
coredll_droptgt.o \
coredll_msw_icon.o \
coredll_msw_imaglist.o \
coredll_msw_minifram.o \
+ coredll_msw_nonownedwnd.o \
coredll_ole_dataobj.o \
coredll_dropsrc.o \
coredll_droptgt.o \
coredll_msw_icon.o \
coredll_msw_imaglist.o \
coredll_msw_minifram.o \
+ coredll_msw_nonownedwnd.o \
coredll_ole_dataobj.o \
coredll_dropsrc.o \
coredll_droptgt.o \
corelib_msw_icon.o \
corelib_msw_imaglist.o \
corelib_msw_minifram.o \
+ corelib_msw_nonownedwnd.o \
corelib_ole_dataobj.o \
corelib_dropsrc.o \
corelib_droptgt.o \
corelib_msw_icon.o \
corelib_msw_imaglist.o \
corelib_msw_minifram.o \
+ corelib_msw_nonownedwnd.o \
corelib_ole_dataobj.o \
corelib_dropsrc.o \
corelib_droptgt.o \
corelib_msw_icon.o \
corelib_msw_imaglist.o \
corelib_msw_minifram.o \
+ corelib_msw_nonownedwnd.o \
corelib_ole_dataobj.o \
corelib_dropsrc.o \
corelib_droptgt.o \
corelib_msw_icon.o \
corelib_msw_imaglist.o \
corelib_msw_minifram.o \
+ corelib_msw_nonownedwnd.o \
corelib_ole_dataobj.o \
corelib_dropsrc.o \
corelib_droptgt.o \
@COND_TOOLKIT_WINCE_USE_GUI_1@monodll_msw_minifram.o: $(srcdir)/src/msw/minifram.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/minifram.cpp
+@COND_TOOLKIT_MSW_USE_GUI_1@monodll_msw_nonownedwnd.o: $(srcdir)/src/msw/nonownedwnd.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/nonownedwnd.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1@monodll_msw_nonownedwnd.o: $(srcdir)/src/msw/nonownedwnd.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/nonownedwnd.cpp
+
@COND_TOOLKIT_MSW_USE_GUI_1@monodll_ole_dataobj.o: $(srcdir)/src/msw/ole/dataobj.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/ole/dataobj.cpp
@COND_TOOLKIT_WINCE_USE_GUI_1@monolib_msw_minifram.o: $(srcdir)/src/msw/minifram.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/minifram.cpp
+@COND_TOOLKIT_MSW_USE_GUI_1@monolib_msw_nonownedwnd.o: $(srcdir)/src/msw/nonownedwnd.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/nonownedwnd.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1@monolib_msw_nonownedwnd.o: $(srcdir)/src/msw/nonownedwnd.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/nonownedwnd.cpp
+
@COND_TOOLKIT_MSW_USE_GUI_1@monolib_ole_dataobj.o: $(srcdir)/src/msw/ole/dataobj.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/ole/dataobj.cpp
@COND_TOOLKIT_WINCE_USE_GUI_1@coredll_msw_minifram.o: $(srcdir)/src/msw/minifram.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/minifram.cpp
+@COND_TOOLKIT_MSW_USE_GUI_1@coredll_msw_nonownedwnd.o: $(srcdir)/src/msw/nonownedwnd.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/nonownedwnd.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1@coredll_msw_nonownedwnd.o: $(srcdir)/src/msw/nonownedwnd.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/nonownedwnd.cpp
+
@COND_TOOLKIT_MSW_USE_GUI_1@coredll_ole_dataobj.o: $(srcdir)/src/msw/ole/dataobj.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/ole/dataobj.cpp
@COND_TOOLKIT_WINCE_USE_GUI_1@corelib_msw_minifram.o: $(srcdir)/src/msw/minifram.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/minifram.cpp
+@COND_TOOLKIT_MSW_USE_GUI_1@corelib_msw_nonownedwnd.o: $(srcdir)/src/msw/nonownedwnd.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/nonownedwnd.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1@corelib_msw_nonownedwnd.o: $(srcdir)/src/msw/nonownedwnd.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/nonownedwnd.cpp
+
@COND_TOOLKIT_MSW_USE_GUI_1@corelib_ole_dataobj.o: $(srcdir)/src/msw/ole/dataobj.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/ole/dataobj.cpp
src/msw/icon.cpp
src/msw/imaglist.cpp
src/msw/minifram.cpp
+ src/msw/nonownedwnd.cpp
src/msw/ole/dataobj.cpp
src/msw/ole/dropsrc.cpp
src/msw/ole/droptgt.cpp
src/msw/window.cpp
</set>
<set var="MSW_LOWLEVEL_HDR" hints="files">
+ wx/msw/nonownedwnd.h
wx/msw/ole/activex.h
wx/msw/popupwin.h
wx/msw/uxtheme.h
$(OBJS)\monodll_icon.obj \\r
$(OBJS)\monodll_imaglist.obj \\r
$(OBJS)\monodll_minifram.obj \\r
+ $(OBJS)\monodll_nonownedwnd.obj \
$(OBJS)\monodll_dataobj.obj \\r
$(OBJS)\monodll_dropsrc.obj \\r
$(OBJS)\monodll_droptgt.obj \\r
$(OBJS)\monodll_icon.obj \\r
$(OBJS)\monodll_imaglist.obj \\r
$(OBJS)\monodll_minifram.obj \\r
+ $(OBJS)\monodll_nonownedwnd.obj \
$(OBJS)\monodll_dataobj.obj \\r
$(OBJS)\monodll_dropsrc.obj \\r
$(OBJS)\monodll_droptgt.obj \\r
$(OBJS)\monolib_icon.obj \\r
$(OBJS)\monolib_imaglist.obj \\r
$(OBJS)\monolib_minifram.obj \\r
+ $(OBJS)\monolib_nonownedwnd.obj \
$(OBJS)\monolib_dataobj.obj \\r
$(OBJS)\monolib_dropsrc.obj \\r
$(OBJS)\monolib_droptgt.obj \\r
$(OBJS)\monolib_icon.obj \\r
$(OBJS)\monolib_imaglist.obj \\r
$(OBJS)\monolib_minifram.obj \\r
+ $(OBJS)\monolib_nonownedwnd.obj \
$(OBJS)\monolib_dataobj.obj \\r
$(OBJS)\monolib_dropsrc.obj \\r
$(OBJS)\monolib_droptgt.obj \\r
$(OBJS)\coredll_icon.obj \\r
$(OBJS)\coredll_imaglist.obj \\r
$(OBJS)\coredll_minifram.obj \\r
+ $(OBJS)\coredll_nonownedwnd.obj \
$(OBJS)\coredll_dataobj.obj \\r
$(OBJS)\coredll_dropsrc.obj \\r
$(OBJS)\coredll_droptgt.obj \\r
$(OBJS)\coredll_icon.obj \\r
$(OBJS)\coredll_imaglist.obj \\r
$(OBJS)\coredll_minifram.obj \\r
+ $(OBJS)\coredll_nonownedwnd.obj \
$(OBJS)\coredll_dataobj.obj \\r
$(OBJS)\coredll_dropsrc.obj \\r
$(OBJS)\coredll_droptgt.obj \\r
$(OBJS)\corelib_icon.obj \\r
$(OBJS)\corelib_imaglist.obj \\r
$(OBJS)\corelib_minifram.obj \\r
+ $(OBJS)\corelib_nonownedwnd.obj \
$(OBJS)\corelib_dataobj.obj \\r
$(OBJS)\corelib_dropsrc.obj \\r
$(OBJS)\corelib_droptgt.obj \\r
$(OBJS)\corelib_icon.obj \\r
$(OBJS)\corelib_imaglist.obj \\r
$(OBJS)\corelib_minifram.obj \\r
+ $(OBJS)\corelib_nonownedwnd.obj \
$(OBJS)\corelib_dataobj.obj \\r
$(OBJS)\corelib_dropsrc.obj \\r
$(OBJS)\corelib_droptgt.obj \\r
!endif\r
\r
!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_nonownedwnd.obj: ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\nonownedwnd.cpp
+!endif
+
+!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_dataobj.obj: ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\ole\dataobj.cpp\r
!endif\r
!endif\r
\r
!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_nonownedwnd.obj: ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\nonownedwnd.cpp
+!endif
+
+!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_dataobj.obj: ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\ole\dataobj.cpp\r
!endif\r
!endif\r
\r
!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_nonownedwnd.obj: ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\msw\nonownedwnd.cpp
+!endif
+
+!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_dataobj.obj: ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\msw\ole\dataobj.cpp\r
!endif\r
!endif\r
\r
!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_nonownedwnd.obj: ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\msw\nonownedwnd.cpp
+!endif
+
+!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_dataobj.obj: ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\msw\ole\dataobj.cpp\r
!endif\r
$(OBJS)\monodll_icon.o \\r
$(OBJS)\monodll_imaglist.o \\r
$(OBJS)\monodll_minifram.o \\r
+ $(OBJS)\monodll_nonownedwnd.o \
$(OBJS)\monodll_dataobj.o \\r
$(OBJS)\monodll_dropsrc.o \\r
$(OBJS)\monodll_droptgt.o \\r
$(OBJS)\monodll_icon.o \\r
$(OBJS)\monodll_imaglist.o \\r
$(OBJS)\monodll_minifram.o \\r
+ $(OBJS)\monodll_nonownedwnd.o \
$(OBJS)\monodll_dataobj.o \\r
$(OBJS)\monodll_dropsrc.o \\r
$(OBJS)\monodll_droptgt.o \\r
$(OBJS)\monolib_icon.o \\r
$(OBJS)\monolib_imaglist.o \\r
$(OBJS)\monolib_minifram.o \\r
+ $(OBJS)\monolib_nonownedwnd.o \
$(OBJS)\monolib_dataobj.o \\r
$(OBJS)\monolib_dropsrc.o \\r
$(OBJS)\monolib_droptgt.o \\r
$(OBJS)\monolib_icon.o \\r
$(OBJS)\monolib_imaglist.o \\r
$(OBJS)\monolib_minifram.o \\r
+ $(OBJS)\monolib_nonownedwnd.o \
$(OBJS)\monolib_dataobj.o \\r
$(OBJS)\monolib_dropsrc.o \\r
$(OBJS)\monolib_droptgt.o \\r
$(OBJS)\coredll_icon.o \\r
$(OBJS)\coredll_imaglist.o \\r
$(OBJS)\coredll_minifram.o \\r
+ $(OBJS)\coredll_nonownedwnd.o \
$(OBJS)\coredll_dataobj.o \\r
$(OBJS)\coredll_dropsrc.o \\r
$(OBJS)\coredll_droptgt.o \\r
$(OBJS)\coredll_icon.o \\r
$(OBJS)\coredll_imaglist.o \\r
$(OBJS)\coredll_minifram.o \\r
+ $(OBJS)\coredll_nonownedwnd.o \
$(OBJS)\coredll_dataobj.o \\r
$(OBJS)\coredll_dropsrc.o \\r
$(OBJS)\coredll_droptgt.o \\r
$(OBJS)\corelib_icon.o \\r
$(OBJS)\corelib_imaglist.o \\r
$(OBJS)\corelib_minifram.o \\r
+ $(OBJS)\corelib_nonownedwnd.o \
$(OBJS)\corelib_dataobj.o \\r
$(OBJS)\corelib_dropsrc.o \\r
$(OBJS)\corelib_droptgt.o \\r
$(OBJS)\corelib_icon.o \\r
$(OBJS)\corelib_imaglist.o \\r
$(OBJS)\corelib_minifram.o \\r
+ $(OBJS)\corelib_nonownedwnd.o \
$(OBJS)\corelib_dataobj.o \\r
$(OBJS)\corelib_dropsrc.o \\r
$(OBJS)\corelib_droptgt.o \\r
endif\r
\r
ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_nonownedwnd.o: ../../src/msw/nonownedwnd.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
+ifeq ($(USE_GUI),1)
$(OBJS)\monodll_dataobj.o: ../../src/msw/ole/dataobj.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
endif\r
\r
ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_nonownedwnd.o: ../../src/msw/nonownedwnd.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
+ifeq ($(USE_GUI),1)
$(OBJS)\monolib_dataobj.o: ../../src/msw/ole/dataobj.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
endif\r
\r
ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_nonownedwnd.o: ../../src/msw/nonownedwnd.cpp
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
+ifeq ($(USE_GUI),1)
$(OBJS)\coredll_dataobj.o: ../../src/msw/ole/dataobj.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
endif\r
\r
ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_nonownedwnd.o: ../../src/msw/nonownedwnd.cpp
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
+ifeq ($(USE_GUI),1)
$(OBJS)\corelib_dataobj.o: ../../src/msw/ole/dataobj.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
$(OBJS)\monodll_icon.obj \\r
$(OBJS)\monodll_imaglist.obj \\r
$(OBJS)\monodll_minifram.obj \\r
+ $(OBJS)\monodll_nonownedwnd.obj \
$(OBJS)\monodll_dataobj.obj \\r
$(OBJS)\monodll_dropsrc.obj \\r
$(OBJS)\monodll_droptgt.obj \\r
$(OBJS)\monodll_icon.obj \\r
$(OBJS)\monodll_imaglist.obj \\r
$(OBJS)\monodll_minifram.obj \\r
+ $(OBJS)\monodll_nonownedwnd.obj \
$(OBJS)\monodll_dataobj.obj \\r
$(OBJS)\monodll_dropsrc.obj \\r
$(OBJS)\monodll_droptgt.obj \\r
$(OBJS)\monolib_icon.obj \\r
$(OBJS)\monolib_imaglist.obj \\r
$(OBJS)\monolib_minifram.obj \\r
+ $(OBJS)\monolib_nonownedwnd.obj \
$(OBJS)\monolib_dataobj.obj \\r
$(OBJS)\monolib_dropsrc.obj \\r
$(OBJS)\monolib_droptgt.obj \\r
$(OBJS)\monolib_icon.obj \\r
$(OBJS)\monolib_imaglist.obj \\r
$(OBJS)\monolib_minifram.obj \\r
+ $(OBJS)\monolib_nonownedwnd.obj \
$(OBJS)\monolib_dataobj.obj \\r
$(OBJS)\monolib_dropsrc.obj \\r
$(OBJS)\monolib_droptgt.obj \\r
$(OBJS)\coredll_icon.obj \\r
$(OBJS)\coredll_imaglist.obj \\r
$(OBJS)\coredll_minifram.obj \\r
+ $(OBJS)\coredll_nonownedwnd.obj \
$(OBJS)\coredll_dataobj.obj \\r
$(OBJS)\coredll_dropsrc.obj \\r
$(OBJS)\coredll_droptgt.obj \\r
$(OBJS)\coredll_icon.obj \\r
$(OBJS)\coredll_imaglist.obj \\r
$(OBJS)\coredll_minifram.obj \\r
+ $(OBJS)\coredll_nonownedwnd.obj \
$(OBJS)\coredll_dataobj.obj \\r
$(OBJS)\coredll_dropsrc.obj \\r
$(OBJS)\coredll_droptgt.obj \\r
$(OBJS)\corelib_icon.obj \\r
$(OBJS)\corelib_imaglist.obj \\r
$(OBJS)\corelib_minifram.obj \\r
+ $(OBJS)\corelib_nonownedwnd.obj \
$(OBJS)\corelib_dataobj.obj \\r
$(OBJS)\corelib_dropsrc.obj \\r
$(OBJS)\corelib_droptgt.obj \\r
$(OBJS)\corelib_icon.obj \\r
$(OBJS)\corelib_imaglist.obj \\r
$(OBJS)\corelib_minifram.obj \\r
+ $(OBJS)\corelib_nonownedwnd.obj \
$(OBJS)\corelib_dataobj.obj \\r
$(OBJS)\corelib_dropsrc.obj \\r
$(OBJS)\corelib_droptgt.obj \\r
!endif\r
\r
!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_nonownedwnd.obj: ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\nonownedwnd.cpp
+!endif
+
+!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_dataobj.obj: ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\ole\dataobj.cpp\r
!endif\r
!endif\r
\r
!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_nonownedwnd.obj: ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\nonownedwnd.cpp
+!endif
+
+!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_dataobj.obj: ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\ole\dataobj.cpp\r
!endif\r
!endif\r
\r
!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_nonownedwnd.obj: ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\msw\nonownedwnd.cpp
+!endif
+
+!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_dataobj.obj: ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\msw\ole\dataobj.cpp\r
!endif\r
!endif\r
\r
!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_nonownedwnd.obj: ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\msw\nonownedwnd.cpp
+!endif
+
+!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_dataobj.obj: ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\msw\ole\dataobj.cpp\r
!endif\r
$(OBJS)\monodll_icon.obj &\r
$(OBJS)\monodll_imaglist.obj &\r
$(OBJS)\monodll_minifram.obj &\r
+ $(OBJS)\monodll_nonownedwnd.obj &
$(OBJS)\monodll_dataobj.obj &\r
$(OBJS)\monodll_dropsrc.obj &\r
$(OBJS)\monodll_droptgt.obj &\r
$(OBJS)\monodll_icon.obj &\r
$(OBJS)\monodll_imaglist.obj &\r
$(OBJS)\monodll_minifram.obj &\r
+ $(OBJS)\monodll_nonownedwnd.obj &
$(OBJS)\monodll_dataobj.obj &\r
$(OBJS)\monodll_dropsrc.obj &\r
$(OBJS)\monodll_droptgt.obj &\r
$(OBJS)\monolib_icon.obj &\r
$(OBJS)\monolib_imaglist.obj &\r
$(OBJS)\monolib_minifram.obj &\r
+ $(OBJS)\monolib_nonownedwnd.obj &
$(OBJS)\monolib_dataobj.obj &\r
$(OBJS)\monolib_dropsrc.obj &\r
$(OBJS)\monolib_droptgt.obj &\r
$(OBJS)\monolib_icon.obj &\r
$(OBJS)\monolib_imaglist.obj &\r
$(OBJS)\monolib_minifram.obj &\r
+ $(OBJS)\monolib_nonownedwnd.obj &
$(OBJS)\monolib_dataobj.obj &\r
$(OBJS)\monolib_dropsrc.obj &\r
$(OBJS)\monolib_droptgt.obj &\r
$(OBJS)\coredll_icon.obj &\r
$(OBJS)\coredll_imaglist.obj &\r
$(OBJS)\coredll_minifram.obj &\r
+ $(OBJS)\coredll_nonownedwnd.obj &
$(OBJS)\coredll_dataobj.obj &\r
$(OBJS)\coredll_dropsrc.obj &\r
$(OBJS)\coredll_droptgt.obj &\r
$(OBJS)\coredll_icon.obj &\r
$(OBJS)\coredll_imaglist.obj &\r
$(OBJS)\coredll_minifram.obj &\r
+ $(OBJS)\coredll_nonownedwnd.obj &
$(OBJS)\coredll_dataobj.obj &\r
$(OBJS)\coredll_dropsrc.obj &\r
$(OBJS)\coredll_droptgt.obj &\r
$(OBJS)\corelib_icon.obj &\r
$(OBJS)\corelib_imaglist.obj &\r
$(OBJS)\corelib_minifram.obj &\r
+ $(OBJS)\corelib_nonownedwnd.obj &
$(OBJS)\corelib_dataobj.obj &\r
$(OBJS)\corelib_dropsrc.obj &\r
$(OBJS)\corelib_droptgt.obj &\r
$(OBJS)\corelib_icon.obj &\r
$(OBJS)\corelib_imaglist.obj &\r
$(OBJS)\corelib_minifram.obj &\r
+ $(OBJS)\corelib_nonownedwnd.obj &
$(OBJS)\corelib_dataobj.obj &\r
$(OBJS)\corelib_dropsrc.obj &\r
$(OBJS)\corelib_droptgt.obj &\r
!endif\r
\r
!ifeq USE_GUI 1\r
+$(OBJS)\monodll_nonownedwnd.obj : .AUTODEPEND ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+!endif
+
+!ifeq USE_GUI 1
$(OBJS)\monodll_dataobj.obj : .AUTODEPEND ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
!endif\r
\r
!ifeq USE_GUI 1\r
+$(OBJS)\monolib_nonownedwnd.obj : .AUTODEPEND ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+!endif
+
+!ifeq USE_GUI 1
$(OBJS)\monolib_dataobj.obj : .AUTODEPEND ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
!endif\r
\r
!ifeq USE_GUI 1\r
+$(OBJS)\coredll_nonownedwnd.obj : .AUTODEPEND ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
+!endif
+
+!ifeq USE_GUI 1
$(OBJS)\coredll_dataobj.obj : .AUTODEPEND ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
!endif\r
\r
!ifeq USE_GUI 1\r
+$(OBJS)\corelib_nonownedwnd.obj : .AUTODEPEND ..\..\src\msw\nonownedwnd.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
+!endif
+
+!ifeq USE_GUI 1
$(OBJS)\corelib_dataobj.obj : .AUTODEPEND ..\..\src\msw\ole\dataobj.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\msw\nonownedwnd.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\msw\notebook.cpp\r
\r
!IF "$(CFG)" == "core - Win32 DLL Universal Release"\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\include\wx\msw\nonownedwnd.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\msw\notebook.h\r
# End Source File\r
# Begin Source File\r
ExcludedFromBuild="TRUE"/>\r
</File>\r
<File\r
+ RelativePath="..\..\src\msw\nonownedwnd.cpp">
+ </File>
+ <File
RelativePath="..\..\src\msw\notebook.cpp">\r
<FileConfiguration\r
Name="Debug|Win32">\r
RelativePath="..\..\include\wx\msw\msvcrt.h">\r
</File>\r
<File\r
+ RelativePath="..\..\include\wx\msw\nonownedwnd.h">
+ </File>
+ <File
RelativePath="..\..\include\wx\msw\notebook.h">\r
</File>\r
<File\r
/>\r
</File>\r
<File\r
+ RelativePath="..\..\src\msw\nonownedwnd.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\src\msw\notebook.cpp"\r
>\r
<FileConfiguration\r
>\r
</File>\r
<File\r
+ RelativePath="..\..\include\wx\msw\nonownedwnd.h"
+ >
+ </File>
+ <File
RelativePath="..\..\include\wx\msw\notebook.h"\r
>\r
</File>\r
/>\r
</File>\r
<File\r
+ RelativePath="..\..\src\msw\nonownedwnd.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\src\msw\notebook.cpp"\r
>\r
<FileConfiguration\r
>\r
</File>\r
<File\r
+ RelativePath="..\..\include\wx\msw\nonownedwnd.h"
+ >
+ </File>
+ <File
RelativePath="..\..\include\wx\msw\notebook.h"\r
>\r
</File>\r
// wxFrame is non-owned, because even though it can have a parent, it's
// location is independent of it. This class is for internal use only, it's
// the base class for wxTopLevelWindow and wxPopupWindow.
-class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxWindow
+class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase
{
public:
// construction
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: wx/msw/nonownedwnd.h
+// Purpose: wxNonOwnedWindow declaration for wxMSW.
+// Author: Vadim Zeitlin
+// Created: 2011-10-09
+// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
+// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_MSW_NONOWNEDWND_H_
+#define _WX_MSW_NONOWNEDWND_H_
+
+// ----------------------------------------------------------------------------
+// wxNonOwnedWindow
+// ----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase
+{
+public:
+#ifndef __WXWINCE__
+ virtual bool SetShape(const wxRegion& region);
+#endif // !__WXWINCE__
+};
+
+#endif // _WX_MSW_NONOWNEDWND_H_
virtual void SetLayoutDirection(wxLayoutDirection dir);
-#ifndef __WXWINCE__
- virtual bool SetShape(const wxRegion& region);
-#endif // __WXWINCE__
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
virtual bool Show(bool show = true);
#ifndef _WX_NONOWNEDWND_H_
#define _WX_NONOWNEDWND_H_
+#include "wx/window.h"
+
+// ----------------------------------------------------------------------------
+// wxNonOwnedWindow: a window that is not a child window of another one.
+// ----------------------------------------------------------------------------
+
+class wxNonOwnedWindowBase : public wxWindow
+{
+public:
+ // Set the shape of the window to the given region.
+ // Returns true if the platform supports this feature (and the
+ // operation is successful.)
+ virtual bool SetShape(const wxRegion& WXUNUSED(region)) { return false; }
+
+};
+
#if defined(__WXDFB__)
#include "wx/dfb/nonownedwnd.h"
#elif defined(__WXMAC__)
#include "wx/osx/nonownedwnd.h"
+#elif defined(__WXMSW__)
+ #include "wx/msw/nonownedwnd.h"
#else
- // other ports can derive both wxTLW and wxPopupWindow directly
- // from wxWindow:
- #include "wx/window.h"
- typedef wxWindow wxNonOwnedWindow;
+ // No special class needed in other ports, they can derive both wxTLW and
+ // wxPopupWindow directly from wxWindow and don't implement SetShape() (at
+ // least at this level, wxGTK does do it in wxTLW).
+ class wxNonOwnedWindow : public wxNonOwnedWindowBase
+ {
+ };
#endif
#endif // _WX_NONOWNEDWND_H_
class wxNonOwnedWindowImpl;
-class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxWindow
+class WXDLLIMPEXP_CORE wxNonOwnedWindow : public wxNonOwnedWindowBase
{
public:
// constructors and such
// implementation from now on
// --------------------------
- virtual bool DoSetShape(const wxRegion& region);
+ virtual bool SetShape(const wxRegion& region);
const wxRegion& GetShape() const { return m_shape; }
// activation hooks only necessary for MDI Implementation
virtual wxPoint GetClientAreaOrigin() const;
- virtual bool SetShape(const wxRegion& region)
- { return DoSetShape(region); }
-
// Attracts the users attention to this window if the application is
// inactive (should be called when a background event occurs)
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
// enable/disable close button [x]
virtual bool EnableCloseButton(bool WXUNUSED(enable) ) { return false; }
- // Set the shape of the window to the given region.
- // Returns true if the platform supports this feature (and the
- // operation is successful.)
- virtual bool SetShape(const wxRegion& WXUNUSED(region)) { return false; }
-
// Attracts the users attention to this window if the application is
// inactive (should be called when a background event occurs)
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: interface/wx/nonownedwnd.h
+// Purpose: wxNonOwnedWindow class documentation
+// Author: Vadim Zeitlin
+// Created: 2011-10-09
+// RCS-ID: $Id$
+// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+/**
+ Common base class for all non-child windows.
+
+ This is the common base class of wxTopLevelWindow and wxPopupWindow and is
+ not used directly.
+
+ Currently the only additional functionality it provides, compared to base
+ wxWindow class, is the ability to set the window shape.
+
+ @since 2.9.3
+ */
+class wxNonOwnedWindow : public wxWindow
+{
+public:
+ /**
+ If the platform supports it, sets the shape of the window to that
+ depicted by @a region. The system will not display or respond to any
+ mouse event for the pixels that lie outside of the region. To reset the
+ window to the normal rectangular shape simply call SetShape() again with
+ an empty wxRegion. Returns @true if the operation is successful.
+
+ This method is available in this class only since wxWidgets 2.9.3,
+ previous versions only provided it in wxTopLevelWindow.
+ */
+ virtual bool SetShape(const wxRegion& region);
+};
@see wxDialog, wxFrame
*/
-class wxTopLevelWindow : public wxWindow
+class wxTopLevelWindow : public wxNonOwnedWindow
{
public:
/**
const wxString& label = wxEmptyString,
wxMenu* subMenu = NULL);
- /**
- If the platform supports it, sets the shape of the window to that
- depicted by @a region. The system will not display or respond to any
- mouse event for the pixels that lie outside of the region. To reset the
- window to the normal rectangular shape simply call SetShape() again with
- an empty wxRegion. Returns @true if the operation is successful.
- */
- virtual bool SetShape(const wxRegion& region);
-
/**
Allows specification of minimum and maximum window sizes, and window
size increments. If a pair of values is not set (or set to -1), no
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: src/msw/nonownedwnd.cpp
+// Purpose: wxNonOwnedWindow implementation for MSW.
+// Author: Vadim Zeitlin
+// Created: 2011-10-09 (extracted from src/msw/toplevel.cpp)
+// RCS-ID: $Id: $
+// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
+// declarations
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#endif // WX_PRECOMP
+
+#include "wx/nonownedwnd.h"
+
+// ============================================================================
+// wxNonOwnedWindow implementation
+// ============================================================================
+
+#ifndef __WXWINCE__
+
+bool wxNonOwnedWindow::SetShape(const wxRegion& region)
+{
+ wxCHECK_MSG( HasFlag(wxFRAME_SHAPED), false,
+ wxT("Shaped windows must be created with the wxFRAME_SHAPED style."));
+
+ // The empty region signifies that the shape should be removed from the
+ // window.
+ if ( region.IsEmpty() )
+ {
+ if (::SetWindowRgn(GetHwnd(), NULL, TRUE) == 0)
+ {
+ wxLogLastError(wxT("SetWindowRgn"));
+ return false;
+ }
+ return true;
+ }
+
+ // Windows takes ownership of the region, so
+ // we'll have to make a copy of the region to give to it.
+ DWORD noBytes = ::GetRegionData(GetHrgnOf(region), 0, NULL);
+ RGNDATA *rgnData = (RGNDATA*) new char[noBytes];
+ ::GetRegionData(GetHrgnOf(region), noBytes, rgnData);
+ HRGN hrgn = ::ExtCreateRegion(NULL, noBytes, rgnData);
+ delete[] (char*) rgnData;
+
+ // SetWindowRgn expects the region to be in coordinates
+ // relative to the window, not the client area. Figure
+ // out the offset, if any.
+ RECT rect;
+ DWORD dwStyle = ::GetWindowLong(GetHwnd(), GWL_STYLE);
+ DWORD dwExStyle = ::GetWindowLong(GetHwnd(), GWL_EXSTYLE);
+ ::GetClientRect(GetHwnd(), &rect);
+ ::AdjustWindowRectEx(&rect, dwStyle, ::GetMenu(GetHwnd()) != NULL, dwExStyle);
+ ::OffsetRgn(hrgn, -rect.left, -rect.top);
+
+ // Now call the shape API with the new region.
+ if (::SetWindowRgn(GetHwnd(), hrgn, TRUE) == 0)
+ {
+ wxLogLastError(wxT("SetWindowRgn"));
+ return false;
+ }
+ return true;
+}
+
+#endif // !__WXWINCE__
return true;
}
-#ifndef __WXWINCE__
-
-bool wxTopLevelWindowMSW::SetShape(const wxRegion& region)
-{
- wxCHECK_MSG( HasFlag(wxFRAME_SHAPED), false,
- wxT("Shaped windows must be created with the wxFRAME_SHAPED style."));
-
- // The empty region signifies that the shape should be removed from the
- // window.
- if ( region.IsEmpty() )
- {
- if (::SetWindowRgn(GetHwnd(), NULL, TRUE) == 0)
- {
- wxLogLastError(wxT("SetWindowRgn"));
- return false;
- }
- return true;
- }
-
- // Windows takes ownership of the region, so
- // we'll have to make a copy of the region to give to it.
- DWORD noBytes = ::GetRegionData(GetHrgnOf(region), 0, NULL);
- RGNDATA *rgnData = (RGNDATA*) new char[noBytes];
- ::GetRegionData(GetHrgnOf(region), noBytes, rgnData);
- HRGN hrgn = ::ExtCreateRegion(NULL, noBytes, rgnData);
- delete[] (char*) rgnData;
-
- // SetWindowRgn expects the region to be in coordinants
- // relative to the window, not the client area. Figure
- // out the offset, if any.
- RECT rect;
- DWORD dwStyle = ::GetWindowLong(GetHwnd(), GWL_STYLE);
- DWORD dwExStyle = ::GetWindowLong(GetHwnd(), GWL_EXSTYLE);
- ::GetClientRect(GetHwnd(), &rect);
- ::AdjustWindowRectEx(&rect, dwStyle, ::GetMenu(GetHwnd()) != NULL, dwExStyle);
- ::OffsetRgn(hrgn, -rect.left, -rect.top);
-
- // Now call the shape API with the new region.
- if (::SetWindowRgn(GetHwnd(), hrgn, TRUE) == 0)
- {
- wxLogLastError(wxT("SetWindowRgn"));
- return false;
- }
- return true;
-}
-
-#endif // !__WXWINCE__
-
void wxTopLevelWindowMSW::RequestUserAttention(int flags)
{
// check if we can use FlashWindowEx(): unfortunately a simple test for
// ---------------------------------------------------------------------------
-bool wxNonOwnedWindow::DoSetShape(const wxRegion& region)
+bool wxNonOwnedWindow::SetShape(const wxRegion& region)
{
wxCHECK_MSG( HasFlag(wxFRAME_SHAPED), false,
wxT("Shaped windows must be created with the wxFRAME_SHAPED style."));
if ( rgn.IsEmpty() )
return false ;
else
- return DoSetShape(rgn);
+ return SetShape(rgn);
}
return m_nowpeer->SetShape(region);