Added toplevel.cpp to GUI test projects and removed the test suite from the unnamed registry so that by default its tests don't run (some regarding ShowWithoutActivating are failing). This way at least the source file has more of a chance to be in a compilable state (compilation was broken). toplevel.cpp has never been included in a project since its addition in r62508 ("[...] until the mainloop issues are resolved [...]").
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67657
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
test_gui_socket.o \
test_gui_boxsizer.o \
test_gui_wrapsizer.o \
test_gui_socket.o \
test_gui_boxsizer.o \
test_gui_wrapsizer.o \
test_gui_valnum.o \
test_gui_clientsize.o \
test_gui_setsize.o \
test_gui_valnum.o \
test_gui_clientsize.o \
test_gui_setsize.o \
test_gui_wrapsizer.o: $(srcdir)/sizers/wrapsizer.cpp $(TEST_GUI_ODEP)
$(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/sizers/wrapsizer.cpp
test_gui_wrapsizer.o: $(srcdir)/sizers/wrapsizer.cpp $(TEST_GUI_ODEP)
$(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/sizers/wrapsizer.cpp
+test_gui_toplevel.o: $(srcdir)/toplevel/toplevel.cpp $(TEST_GUI_ODEP)
+ $(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/toplevel/toplevel.cpp
+
test_gui_valnum.o: $(srcdir)/validators/valnum.cpp $(TEST_GUI_ODEP)
$(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/validators/valnum.cpp
test_gui_valnum.o: $(srcdir)/validators/valnum.cpp $(TEST_GUI_ODEP)
$(CXXC) -c -o $@ $(TEST_GUI_CXXFLAGS) $(srcdir)/validators/valnum.cpp
$(OBJS)\test_gui_colour.obj \\r
$(OBJS)\test_gui_ellipsization.obj \\r
$(OBJS)\test_gui_measuring.obj \\r
$(OBJS)\test_gui_colour.obj \\r
$(OBJS)\test_gui_ellipsization.obj \\r
$(OBJS)\test_gui_measuring.obj \\r
- $(OBJS)\test_gui_affinematrix.obj \
+ $(OBJS)\test_gui_affinematrix.obj \\r
$(OBJS)\test_gui_config.obj \\r
$(OBJS)\test_gui_bitmapcomboboxtest.obj \\r
$(OBJS)\test_gui_bitmaptogglebuttontest.obj \\r
$(OBJS)\test_gui_config.obj \\r
$(OBJS)\test_gui_bitmapcomboboxtest.obj \\r
$(OBJS)\test_gui_bitmaptogglebuttontest.obj \\r
$(OBJS)\test_gui_listboxtest.obj \\r
$(OBJS)\test_gui_listctrltest.obj \\r
$(OBJS)\test_gui_listviewtest.obj \\r
$(OBJS)\test_gui_listboxtest.obj \\r
$(OBJS)\test_gui_listctrltest.obj \\r
$(OBJS)\test_gui_listviewtest.obj \\r
- $(OBJS)\test_gui_markuptest.obj \
+ $(OBJS)\test_gui_markuptest.obj \\r
$(OBJS)\test_gui_notebooktest.obj \\r
$(OBJS)\test_gui_ownerdrawncomboboxtest.obj \\r
$(OBJS)\test_gui_pickerbasetest.obj \\r
$(OBJS)\test_gui_notebooktest.obj \\r
$(OBJS)\test_gui_ownerdrawncomboboxtest.obj \\r
$(OBJS)\test_gui_pickerbasetest.obj \\r
$(OBJS)\test_gui_guifuncs.obj \\r
$(OBJS)\test_gui_selstoretest.obj \\r
$(OBJS)\test_gui_garbage.obj \\r
$(OBJS)\test_gui_guifuncs.obj \\r
$(OBJS)\test_gui_selstoretest.obj \\r
$(OBJS)\test_gui_garbage.obj \\r
- $(OBJS)\test_gui_settings.obj \
- $(OBJS)\test_gui_socket.obj \
- $(OBJS)\test_gui_boxsizer.obj \
- $(OBJS)\test_gui_wrapsizer.obj \
- $(OBJS)\test_gui_valnum.obj \
- $(OBJS)\test_gui_clientsize.obj \
- $(OBJS)\test_gui_setsize.obj \
+ $(OBJS)\test_gui_settings.obj \\r
+ $(OBJS)\test_gui_socket.obj \\r
+ $(OBJS)\test_gui_boxsizer.obj \\r
+ $(OBJS)\test_gui_wrapsizer.obj \\r
+ $(OBJS)\test_gui_toplevel.obj \\r
+ $(OBJS)\test_gui_valnum.obj \\r
+ $(OBJS)\test_gui_clientsize.obj \\r
+ $(OBJS)\test_gui_setsize.obj \\r
$(OBJS)\test_gui_xrctest.obj\r
\r
### Conditionally set variables: ###\r
$(OBJS)\test_gui_xrctest.obj\r
\r
### Conditionally set variables: ###\r
$(OBJS)\test_gui_measuring.obj: .\graphics\measuring.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\graphics\measuring.cpp\r
\r
$(OBJS)\test_gui_measuring.obj: .\graphics\measuring.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\graphics\measuring.cpp\r
\r
-$(OBJS)\test_gui_affinematrix.obj: .\graphics\affinematrix.cpp
- $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\graphics\affinematrix.cpp
-
+$(OBJS)\test_gui_affinematrix.obj: .\graphics\affinematrix.cpp\r
+ $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\graphics\affinematrix.cpp\r
+\r
$(OBJS)\test_gui_config.obj: .\config\config.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp\r
\r
$(OBJS)\test_gui_config.obj: .\config\config.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp\r
\r
$(OBJS)\test_gui_listviewtest.obj: .\controls\listviewtest.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\listviewtest.cpp\r
\r
$(OBJS)\test_gui_listviewtest.obj: .\controls\listviewtest.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\listviewtest.cpp\r
\r
-$(OBJS)\test_gui_markuptest.obj: .\controls\markuptest.cpp
- $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\markuptest.cpp
-
+$(OBJS)\test_gui_markuptest.obj: .\controls\markuptest.cpp\r
+ $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\markuptest.cpp\r
+\r
$(OBJS)\test_gui_notebooktest.obj: .\controls\notebooktest.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\notebooktest.cpp\r
\r
$(OBJS)\test_gui_notebooktest.obj: .\controls\notebooktest.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\notebooktest.cpp\r
\r
$(OBJS)\test_gui_socket.obj: .\net\socket.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\net\socket.cpp\r
\r
$(OBJS)\test_gui_socket.obj: .\net\socket.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\net\socket.cpp\r
\r
-$(OBJS)\test_gui_boxsizer.obj: .\sizers\boxsizer.cpp
- $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\sizers\boxsizer.cpp
-
-$(OBJS)\test_gui_wrapsizer.obj: .\sizers\wrapsizer.cpp
- $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\sizers\wrapsizer.cpp
-
-$(OBJS)\test_gui_valnum.obj: .\validators\valnum.cpp
- $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\validators\valnum.cpp
-
+$(OBJS)\test_gui_boxsizer.obj: .\sizers\boxsizer.cpp\r
+ $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\sizers\boxsizer.cpp\r
+\r
+$(OBJS)\test_gui_wrapsizer.obj: .\sizers\wrapsizer.cpp\r
+ $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\sizers\wrapsizer.cpp\r
+\r
+$(OBJS)\test_gui_toplevel.obj: .\toplevel\toplevel.cpp\r
+ $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\toplevel\toplevel.cpp\r
+\r
+$(OBJS)\test_gui_valnum.obj: .\validators\valnum.cpp\r
+ $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\validators\valnum.cpp\r
+\r
$(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp\r
\r
$(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp\r
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp\r
\r
$(OBJS)\test_gui_colour.o \\r
$(OBJS)\test_gui_ellipsization.o \\r
$(OBJS)\test_gui_measuring.o \\r
$(OBJS)\test_gui_colour.o \\r
$(OBJS)\test_gui_ellipsization.o \\r
$(OBJS)\test_gui_measuring.o \\r
- $(OBJS)\test_gui_affinematrix.o \
+ $(OBJS)\test_gui_affinematrix.o \\r
$(OBJS)\test_gui_config.o \\r
$(OBJS)\test_gui_bitmapcomboboxtest.o \\r
$(OBJS)\test_gui_bitmaptogglebuttontest.o \\r
$(OBJS)\test_gui_config.o \\r
$(OBJS)\test_gui_bitmapcomboboxtest.o \\r
$(OBJS)\test_gui_bitmaptogglebuttontest.o \\r
$(OBJS)\test_gui_listboxtest.o \\r
$(OBJS)\test_gui_listctrltest.o \\r
$(OBJS)\test_gui_listviewtest.o \\r
$(OBJS)\test_gui_listboxtest.o \\r
$(OBJS)\test_gui_listctrltest.o \\r
$(OBJS)\test_gui_listviewtest.o \\r
- $(OBJS)\test_gui_markuptest.o \
+ $(OBJS)\test_gui_markuptest.o \\r
$(OBJS)\test_gui_notebooktest.o \\r
$(OBJS)\test_gui_ownerdrawncomboboxtest.o \\r
$(OBJS)\test_gui_pickerbasetest.o \\r
$(OBJS)\test_gui_notebooktest.o \\r
$(OBJS)\test_gui_ownerdrawncomboboxtest.o \\r
$(OBJS)\test_gui_pickerbasetest.o \\r
$(OBJS)\test_gui_guifuncs.o \\r
$(OBJS)\test_gui_selstoretest.o \\r
$(OBJS)\test_gui_garbage.o \\r
$(OBJS)\test_gui_guifuncs.o \\r
$(OBJS)\test_gui_selstoretest.o \\r
$(OBJS)\test_gui_garbage.o \\r
- $(OBJS)\test_gui_settings.o \
- $(OBJS)\test_gui_socket.o \
- $(OBJS)\test_gui_boxsizer.o \
- $(OBJS)\test_gui_wrapsizer.o \
- $(OBJS)\test_gui_valnum.o \
- $(OBJS)\test_gui_clientsize.o \
- $(OBJS)\test_gui_setsize.o \
+ $(OBJS)\test_gui_settings.o \\r
+ $(OBJS)\test_gui_socket.o \\r
+ $(OBJS)\test_gui_boxsizer.o \\r
+ $(OBJS)\test_gui_wrapsizer.o \\r
+ $(OBJS)\test_gui_toplevel.o \\r
+ $(OBJS)\test_gui_valnum.o \\r
+ $(OBJS)\test_gui_clientsize.o \\r
+ $(OBJS)\test_gui_setsize.o \\r
$(OBJS)\test_gui_xrctest.o\r
\r
### Conditionally set variables: ###\r
$(OBJS)\test_gui_xrctest.o\r
\r
### Conditionally set variables: ###\r
$(OBJS)\test_gui_measuring.o: ./graphics/measuring.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
$(OBJS)\test_gui_measuring.o: ./graphics/measuring.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
-$(OBJS)\test_gui_affinematrix.o: ./graphics/affinematrix.cpp
- $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
-
+$(OBJS)\test_gui_affinematrix.o: ./graphics/affinematrix.cpp\r
+ $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
+\r
$(OBJS)\test_gui_config.o: ./config/config.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
$(OBJS)\test_gui_config.o: ./config/config.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
$(OBJS)\test_gui_listviewtest.o: ./controls/listviewtest.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
$(OBJS)\test_gui_listviewtest.o: ./controls/listviewtest.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
-$(OBJS)\test_gui_markuptest.o: ./controls/markuptest.cpp
- $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
-
+$(OBJS)\test_gui_markuptest.o: ./controls/markuptest.cpp\r
+ $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
+\r
$(OBJS)\test_gui_notebooktest.o: ./controls/notebooktest.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
$(OBJS)\test_gui_notebooktest.o: ./controls/notebooktest.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
$(OBJS)\test_gui_socket.o: ./net/socket.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
$(OBJS)\test_gui_socket.o: ./net/socket.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
-$(OBJS)\test_gui_boxsizer.o: ./sizers/boxsizer.cpp
- $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
-
-$(OBJS)\test_gui_wrapsizer.o: ./sizers/wrapsizer.cpp
- $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
-
-$(OBJS)\test_gui_valnum.o: ./validators/valnum.cpp
- $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
-
+$(OBJS)\test_gui_boxsizer.o: ./sizers/boxsizer.cpp\r
+ $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
+\r
+$(OBJS)\test_gui_wrapsizer.o: ./sizers/wrapsizer.cpp\r
+ $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
+\r
+$(OBJS)\test_gui_toplevel.o: ./toplevel/toplevel.cpp\r
+ $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
+\r
+$(OBJS)\test_gui_valnum.o: ./validators/valnum.cpp\r
+ $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
+\r
$(OBJS)\test_gui_clientsize.o: ./window/clientsize.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
$(OBJS)\test_gui_clientsize.o: ./window/clientsize.cpp\r
$(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<\r
\r
$(OBJS)\test_gui_colour.obj \\r
$(OBJS)\test_gui_ellipsization.obj \\r
$(OBJS)\test_gui_measuring.obj \\r
$(OBJS)\test_gui_colour.obj \\r
$(OBJS)\test_gui_ellipsization.obj \\r
$(OBJS)\test_gui_measuring.obj \\r
- $(OBJS)\test_gui_affinematrix.obj \
+ $(OBJS)\test_gui_affinematrix.obj \\r
$(OBJS)\test_gui_config.obj \\r
$(OBJS)\test_gui_bitmapcomboboxtest.obj \\r
$(OBJS)\test_gui_bitmaptogglebuttontest.obj \\r
$(OBJS)\test_gui_config.obj \\r
$(OBJS)\test_gui_bitmapcomboboxtest.obj \\r
$(OBJS)\test_gui_bitmaptogglebuttontest.obj \\r
$(OBJS)\test_gui_listboxtest.obj \\r
$(OBJS)\test_gui_listctrltest.obj \\r
$(OBJS)\test_gui_listviewtest.obj \\r
$(OBJS)\test_gui_listboxtest.obj \\r
$(OBJS)\test_gui_listctrltest.obj \\r
$(OBJS)\test_gui_listviewtest.obj \\r
- $(OBJS)\test_gui_markuptest.obj \
+ $(OBJS)\test_gui_markuptest.obj \\r
$(OBJS)\test_gui_notebooktest.obj \\r
$(OBJS)\test_gui_ownerdrawncomboboxtest.obj \\r
$(OBJS)\test_gui_pickerbasetest.obj \\r
$(OBJS)\test_gui_notebooktest.obj \\r
$(OBJS)\test_gui_ownerdrawncomboboxtest.obj \\r
$(OBJS)\test_gui_pickerbasetest.obj \\r
$(OBJS)\test_gui_guifuncs.obj \\r
$(OBJS)\test_gui_selstoretest.obj \\r
$(OBJS)\test_gui_garbage.obj \\r
$(OBJS)\test_gui_guifuncs.obj \\r
$(OBJS)\test_gui_selstoretest.obj \\r
$(OBJS)\test_gui_garbage.obj \\r
- $(OBJS)\test_gui_settings.obj \
- $(OBJS)\test_gui_socket.obj \
- $(OBJS)\test_gui_boxsizer.obj \
- $(OBJS)\test_gui_wrapsizer.obj \
- $(OBJS)\test_gui_valnum.obj \
- $(OBJS)\test_gui_clientsize.obj \
- $(OBJS)\test_gui_setsize.obj \
+ $(OBJS)\test_gui_settings.obj \\r
+ $(OBJS)\test_gui_socket.obj \\r
+ $(OBJS)\test_gui_boxsizer.obj \\r
+ $(OBJS)\test_gui_wrapsizer.obj \\r
+ $(OBJS)\test_gui_toplevel.obj \\r
+ $(OBJS)\test_gui_valnum.obj \\r
+ $(OBJS)\test_gui_clientsize.obj \\r
+ $(OBJS)\test_gui_setsize.obj \\r
$(OBJS)\test_gui_xrctest.obj\r
TEST_GUI_RESOURCES = \\r
$(OBJS)\test_gui_sample.res\r
$(OBJS)\test_gui_xrctest.obj\r
TEST_GUI_RESOURCES = \\r
$(OBJS)\test_gui_sample.res\r
$(OBJS)\test_gui_measuring.obj: .\graphics\measuring.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\graphics\measuring.cpp\r
\r
$(OBJS)\test_gui_measuring.obj: .\graphics\measuring.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\graphics\measuring.cpp\r
\r
-$(OBJS)\test_gui_affinematrix.obj: .\graphics\affinematrix.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\graphics\affinematrix.cpp
-
+$(OBJS)\test_gui_affinematrix.obj: .\graphics\affinematrix.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\graphics\affinematrix.cpp\r
+\r
$(OBJS)\test_gui_config.obj: .\config\config.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp\r
\r
$(OBJS)\test_gui_config.obj: .\config\config.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp\r
\r
$(OBJS)\test_gui_listviewtest.obj: .\controls\listviewtest.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\listviewtest.cpp\r
\r
$(OBJS)\test_gui_listviewtest.obj: .\controls\listviewtest.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\listviewtest.cpp\r
\r
-$(OBJS)\test_gui_markuptest.obj: .\controls\markuptest.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\markuptest.cpp
-
+$(OBJS)\test_gui_markuptest.obj: .\controls\markuptest.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\markuptest.cpp\r
+\r
$(OBJS)\test_gui_notebooktest.obj: .\controls\notebooktest.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\notebooktest.cpp\r
\r
$(OBJS)\test_gui_notebooktest.obj: .\controls\notebooktest.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\controls\notebooktest.cpp\r
\r
$(OBJS)\test_gui_socket.obj: .\net\socket.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\net\socket.cpp\r
\r
$(OBJS)\test_gui_socket.obj: .\net\socket.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\net\socket.cpp\r
\r
-$(OBJS)\test_gui_boxsizer.obj: .\sizers\boxsizer.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\sizers\boxsizer.cpp
-
-$(OBJS)\test_gui_wrapsizer.obj: .\sizers\wrapsizer.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\sizers\wrapsizer.cpp
-
-$(OBJS)\test_gui_valnum.obj: .\validators\valnum.cpp
- $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\validators\valnum.cpp
-
+$(OBJS)\test_gui_boxsizer.obj: .\sizers\boxsizer.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\sizers\boxsizer.cpp\r
+\r
+$(OBJS)\test_gui_wrapsizer.obj: .\sizers\wrapsizer.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\sizers\wrapsizer.cpp\r
+\r
+$(OBJS)\test_gui_toplevel.obj: .\toplevel\toplevel.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\toplevel\toplevel.cpp\r
+\r
+$(OBJS)\test_gui_valnum.obj: .\validators\valnum.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\validators\valnum.cpp\r
+\r
$(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp\r
\r
$(OBJS)\test_gui_clientsize.obj: .\window\clientsize.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) .\window\clientsize.cpp\r
\r
$(OBJS)\test_gui_colour.obj &\r
$(OBJS)\test_gui_ellipsization.obj &\r
$(OBJS)\test_gui_measuring.obj &\r
$(OBJS)\test_gui_colour.obj &\r
$(OBJS)\test_gui_ellipsization.obj &\r
$(OBJS)\test_gui_measuring.obj &\r
- $(OBJS)\test_gui_affinematrix.obj &
+ $(OBJS)\test_gui_affinematrix.obj &\r
$(OBJS)\test_gui_config.obj &\r
$(OBJS)\test_gui_bitmapcomboboxtest.obj &\r
$(OBJS)\test_gui_bitmaptogglebuttontest.obj &\r
$(OBJS)\test_gui_config.obj &\r
$(OBJS)\test_gui_bitmapcomboboxtest.obj &\r
$(OBJS)\test_gui_bitmaptogglebuttontest.obj &\r
$(OBJS)\test_gui_listboxtest.obj &\r
$(OBJS)\test_gui_listctrltest.obj &\r
$(OBJS)\test_gui_listviewtest.obj &\r
$(OBJS)\test_gui_listboxtest.obj &\r
$(OBJS)\test_gui_listctrltest.obj &\r
$(OBJS)\test_gui_listviewtest.obj &\r
- $(OBJS)\test_gui_markuptest.obj &
+ $(OBJS)\test_gui_markuptest.obj &\r
$(OBJS)\test_gui_notebooktest.obj &\r
$(OBJS)\test_gui_ownerdrawncomboboxtest.obj &\r
$(OBJS)\test_gui_pickerbasetest.obj &\r
$(OBJS)\test_gui_notebooktest.obj &\r
$(OBJS)\test_gui_ownerdrawncomboboxtest.obj &\r
$(OBJS)\test_gui_pickerbasetest.obj &\r
$(OBJS)\test_gui_guifuncs.obj &\r
$(OBJS)\test_gui_selstoretest.obj &\r
$(OBJS)\test_gui_garbage.obj &\r
$(OBJS)\test_gui_guifuncs.obj &\r
$(OBJS)\test_gui_selstoretest.obj &\r
$(OBJS)\test_gui_garbage.obj &\r
- $(OBJS)\test_gui_settings.obj &
- $(OBJS)\test_gui_socket.obj &
- $(OBJS)\test_gui_boxsizer.obj &
- $(OBJS)\test_gui_wrapsizer.obj &
- $(OBJS)\test_gui_valnum.obj &
- $(OBJS)\test_gui_clientsize.obj &
- $(OBJS)\test_gui_setsize.obj &
+ $(OBJS)\test_gui_settings.obj &\r
+ $(OBJS)\test_gui_socket.obj &\r
+ $(OBJS)\test_gui_boxsizer.obj &\r
+ $(OBJS)\test_gui_wrapsizer.obj &\r
+ $(OBJS)\test_gui_toplevel.obj &\r
+ $(OBJS)\test_gui_valnum.obj &\r
+ $(OBJS)\test_gui_clientsize.obj &\r
+ $(OBJS)\test_gui_setsize.obj &\r
$(OBJS)\test_gui_xrctest.obj\r
\r
\r
$(OBJS)\test_gui_xrctest.obj\r
\r
\r
$(OBJS)\test_gui_measuring.obj : .AUTODEPEND .\graphics\measuring.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
$(OBJS)\test_gui_measuring.obj : .AUTODEPEND .\graphics\measuring.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
-$(OBJS)\test_gui_affinematrix.obj : .AUTODEPEND .\graphics\affinematrix.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
-
+$(OBJS)\test_gui_affinematrix.obj : .AUTODEPEND .\graphics\affinematrix.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
+\r
$(OBJS)\test_gui_config.obj : .AUTODEPEND .\config\config.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
$(OBJS)\test_gui_config.obj : .AUTODEPEND .\config\config.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
$(OBJS)\test_gui_listviewtest.obj : .AUTODEPEND .\controls\listviewtest.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
$(OBJS)\test_gui_listviewtest.obj : .AUTODEPEND .\controls\listviewtest.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
-$(OBJS)\test_gui_markuptest.obj : .AUTODEPEND .\controls\markuptest.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
-
+$(OBJS)\test_gui_markuptest.obj : .AUTODEPEND .\controls\markuptest.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
+\r
$(OBJS)\test_gui_notebooktest.obj : .AUTODEPEND .\controls\notebooktest.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
$(OBJS)\test_gui_notebooktest.obj : .AUTODEPEND .\controls\notebooktest.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
$(OBJS)\test_gui_socket.obj : .AUTODEPEND .\net\socket.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
$(OBJS)\test_gui_socket.obj : .AUTODEPEND .\net\socket.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
-$(OBJS)\test_gui_boxsizer.obj : .AUTODEPEND .\sizers\boxsizer.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
-
-$(OBJS)\test_gui_wrapsizer.obj : .AUTODEPEND .\sizers\wrapsizer.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
-
-$(OBJS)\test_gui_valnum.obj : .AUTODEPEND .\validators\valnum.cpp
- $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<
-
+$(OBJS)\test_gui_boxsizer.obj : .AUTODEPEND .\sizers\boxsizer.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
+\r
+$(OBJS)\test_gui_wrapsizer.obj : .AUTODEPEND .\sizers\wrapsizer.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
+\r
+$(OBJS)\test_gui_toplevel.obj : .AUTODEPEND .\toplevel\toplevel.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
+\r
+$(OBJS)\test_gui_valnum.obj : .AUTODEPEND .\validators\valnum.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
+\r
$(OBJS)\test_gui_clientsize.obj : .AUTODEPEND .\window\clientsize.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
$(OBJS)\test_gui_clientsize.obj : .AUTODEPEND .\window\clientsize.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(TEST_GUI_CXXFLAGS) $<\r
\r
net/socket.cpp
sizers/boxsizer.cpp
sizers/wrapsizer.cpp
net/socket.cpp
sizers/boxsizer.cpp
sizers/wrapsizer.cpp
validators/valnum.cpp
window/clientsize.cpp
window/setsize.cpp
validators/valnum.cpp
window/clientsize.cpp
window/setsize.cpp
# End Source File\r
# Begin Source File\r
\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=.\graphics\affinematrix.cpp
-# End Source File
-# Begin Source File
-
+SOURCE=.\graphics\affinematrix.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\asserthelper.cpp\r
# End Source File\r
# Begin Source File\r
SOURCE=.\asserthelper.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=.\controls\markuptest.cpp
-# End Source File
-# Begin Source File
-
+SOURCE=.\controls\markuptest.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\graphics\measuring.cpp\r
# End Source File\r
# Begin Source File\r
SOURCE=.\graphics\measuring.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=.\toplevel\toplevel.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\controls\treebooktest.cpp\r
# End Source File\r
# Begin Source File\r
SOURCE=.\controls\treebooktest.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=.\sizers\wrapsizer.cpp
-# End Source File
-# Begin Source File
-
+SOURCE=.\sizers\wrapsizer.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\xml\xrctest.cpp\r
# End Source File\r
# End Group\r
SOURCE=.\xml\xrctest.cpp\r
# End Source File\r
# End Group\r
RelativePath=".\menu\accelentry.cpp">\r
</File>\r
<File\r
RelativePath=".\menu\accelentry.cpp">\r
</File>\r
<File\r
- RelativePath=".\graphics\affinematrix.cpp">
- </File>
- <File
+ RelativePath=".\graphics\affinematrix.cpp">\r
+ </File>\r
+ <File\r
RelativePath=".\asserthelper.cpp">\r
</File>\r
<File\r
RelativePath=".\asserthelper.cpp">\r
</File>\r
<File\r
RelativePath=".\controls\listviewtest.cpp">\r
</File>\r
<File\r
RelativePath=".\controls\listviewtest.cpp">\r
</File>\r
<File\r
- RelativePath=".\controls\markuptest.cpp">
- </File>
- <File
+ RelativePath=".\controls\markuptest.cpp">\r
+ </File>\r
+ <File\r
RelativePath=".\graphics\measuring.cpp">\r
</File>\r
<File\r
RelativePath=".\graphics\measuring.cpp">\r
</File>\r
<File\r
<File\r
RelativePath=".\controls\toolbooktest.cpp">\r
</File>\r
<File\r
RelativePath=".\controls\toolbooktest.cpp">\r
</File>\r
+ <File\r
+ RelativePath=".\toplevel\toplevel.cpp">\r
+ </File>\r
<File\r
RelativePath=".\controls\treebooktest.cpp">\r
</File>\r
<File\r
RelativePath=".\controls\treebooktest.cpp">\r
</File>\r
RelativePath=".\controls\windowtest.cpp">\r
</File>\r
<File\r
RelativePath=".\controls\windowtest.cpp">\r
</File>\r
<File\r
- RelativePath=".\sizers\wrapsizer.cpp">
- </File>
- <File
+ RelativePath=".\sizers\wrapsizer.cpp">\r
+ </File>\r
+ <File\r
RelativePath=".\xml\xrctest.cpp">\r
</File>\r
</Filter>\r
RelativePath=".\xml\xrctest.cpp">\r
</File>\r
</Filter>\r
- RelativePath=".\graphics\affinematrix.cpp"
- >
- </File>
- <File
+ RelativePath=".\graphics\affinematrix.cpp"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\asserthelper.cpp"\r
>\r
</File>\r
RelativePath=".\asserthelper.cpp"\r
>\r
</File>\r
- RelativePath=".\controls\markuptest.cpp"
- >
- </File>
- <File
+ RelativePath=".\controls\markuptest.cpp"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\graphics\measuring.cpp"\r
>\r
</File>\r
RelativePath=".\graphics\measuring.cpp"\r
>\r
</File>\r
RelativePath=".\controls\toolbooktest.cpp"\r
>\r
</File>\r
RelativePath=".\controls\toolbooktest.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath=".\toplevel\toplevel.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath=".\controls\treebooktest.cpp"\r
>\r
<File\r
RelativePath=".\controls\treebooktest.cpp"\r
>\r
- RelativePath=".\sizers\wrapsizer.cpp"
- >
- </File>
- <File
+ RelativePath=".\sizers\wrapsizer.cpp"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\xml\xrctest.cpp"\r
>\r
</File>\r
RelativePath=".\xml\xrctest.cpp"\r
>\r
</File>\r
- RelativePath=".\graphics\affinematrix.cpp"
- >
- </File>
- <File
+ RelativePath=".\graphics\affinematrix.cpp"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\asserthelper.cpp"\r
>\r
</File>\r
RelativePath=".\asserthelper.cpp"\r
>\r
</File>\r
- RelativePath=".\controls\markuptest.cpp"
- >
- </File>
- <File
+ RelativePath=".\controls\markuptest.cpp"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\graphics\measuring.cpp"\r
>\r
</File>\r
RelativePath=".\graphics\measuring.cpp"\r
>\r
</File>\r
RelativePath=".\controls\toolbooktest.cpp"\r
>\r
</File>\r
RelativePath=".\controls\toolbooktest.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath=".\toplevel\toplevel.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath=".\controls\treebooktest.cpp"\r
>\r
<File\r
RelativePath=".\controls\treebooktest.cpp"\r
>\r
- RelativePath=".\sizers\wrapsizer.cpp"
- >
- </File>
- <File
+ RelativePath=".\sizers\wrapsizer.cpp"\r
+ >\r
+ </File>\r
+ <File\r
RelativePath=".\xml\xrctest.cpp"\r
>\r
</File>\r
RelativePath=".\xml\xrctest.cpp"\r
>\r
</File>\r
#endif
#ifndef WX_PRECOMP
#endif
#ifndef WX_PRECOMP
- #include "wx/app.h"
- #include "wx/window.h"
+ #include "wx/dialog.h"
+ #include "wx/frame.h"
+ #include "wx/textctrl.h"
+ #include "wx/toplevel.h"
#endif // WX_PRECOMP
#include "wx/evtloop.h"
#endif // WX_PRECOMP
#include "wx/evtloop.h"
};
// register in the unnamed registry so that these tests are run by default
};
// register in the unnamed registry so that these tests are run by default
-CPPUNIT_TEST_SUITE_REGISTRATION( TopLevelWindowTestCase );
+//CPPUNIT_TEST_SUITE_REGISTRATION( TopLevelWindowTestCase );
// also include in its own registry so that these tests can be run alone
// also include in its own registry so that these tests can be run alone
-CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TopLevelWindowTestCase, "TopLevelWindowTestCase" );
+CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TopLevelWindowTestCase, "fixme" );
// ----------------------------------------------------------------------------
// test initialization
// ----------------------------------------------------------------------------
// test initialization
textCtrl->SetFocus();
// only run this test on platforms where ShowWithoutActivating is implemented.
textCtrl->SetFocus();
// only run this test on platforms where ShowWithoutActivating is implemented.
-#ifdef __WXMSW__ || defined(__WXMAC__)
+#if defined(__WXMSW__) || defined(__WXMAC__)
tlw->ShowWithoutActivating();
CPPUNIT_ASSERT(tlw->IsShown());
CPPUNIT_ASSERT(!tlw->IsActive());
tlw->ShowWithoutActivating();
CPPUNIT_ASSERT(tlw->IsShown());
CPPUNIT_ASSERT(!tlw->IsActive());