]> git.saurik.com Git - wxWidgets.git/commitdiff
Move SetBackgroundBitmap() from wxPanel to new wxCustomBackgroundWindow.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Oct 2011 17:07:43 +0000 (17:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Oct 2011 17:07:43 +0000 (17:07 +0000)
wxCustomBackgroundWindow is a new class allowing to set a custom bitmap for
the background of any window. The relevant code was mostly moved from wxPanel
to which it was added only recently (before 2.9.2) making it unnecessary to
preserve compatibility.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

25 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_core.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc9_core.vcproj
docs/changes.txt
docs/doxygen/mainpages/cat_classes.h
include/wx/custombgwin.h [new file with mode: 0644]
include/wx/generic/custombgwin.h [new file with mode: 0644]
include/wx/generic/panelg.h
include/wx/msw/custombgwin.h [new file with mode: 0644]
include/wx/msw/panel.h
include/wx/panel.h
include/wx/univ/custombgwin.h [new file with mode: 0644]
include/wx/univ/panel.h
interface/wx/custombgwin.h [new file with mode: 0644]
interface/wx/panel.h
samples/erase/erase.cpp
src/generic/panelg.cpp [deleted file]
src/msw/panel.cpp

index 624cbb8ef65b534e099cdc61d037bec433a75a92..6c5ce7a4030d146fff733181b08ab49dd4db7f7f 100644 (file)
@@ -2990,6 +2990,7 @@ COND_TOOLKIT_MSW_GUI_HDR =  \
        wx/msw/control.h \
        wx/msw/ctrlsub.h \
        wx/msw/cursor.h \
        wx/msw/control.h \
        wx/msw/ctrlsub.h \
        wx/msw/cursor.h \
+       wx/msw/custombgwin.h \
        wx/msw/dc.h \
        wx/msw/dcclient.h \
        wx/msw/dcmemory.h \
        wx/msw/dc.h \
        wx/msw/dcclient.h \
        wx/msw/dcmemory.h \
@@ -3519,6 +3520,7 @@ COND_TOOLKIT_WINCE_GUI_HDR =  \
        wx/msw/control.h \
        wx/msw/ctrlsub.h \
        wx/msw/cursor.h \
        wx/msw/control.h \
        wx/msw/ctrlsub.h \
        wx/msw/cursor.h \
+       wx/msw/custombgwin.h \
        wx/msw/dc.h \
        wx/msw/dcclient.h \
        wx/msw/dcmemory.h \
        wx/msw/dc.h \
        wx/msw/dcclient.h \
        wx/msw/dcmemory.h \
@@ -3855,6 +3857,7 @@ COND_USE_GUI_1_WXUNIV_1_GUI_CORE_HEADERS =  \
        wx/univ/colschem.h \
        wx/univ/combobox.h \
        wx/univ/control.h \
        wx/univ/colschem.h \
        wx/univ/combobox.h \
        wx/univ/control.h \
+       wx/univ/custombgwin.h \
        wx/univ/dialog.h \
        wx/univ/frame.h \
        wx/univ/gauge.h \
        wx/univ/dialog.h \
        wx/univ/frame.h \
        wx/univ/gauge.h \
@@ -3907,6 +3910,7 @@ COND_USE_GUI_1_ALL_GUI_HEADERS =  \
        wx/control.h \
        wx/ctrlsub.h \
        wx/cursor.h \
        wx/control.h \
        wx/ctrlsub.h \
        wx/cursor.h \
+       wx/custombgwin.h \
        wx/dc.h \
        wx/dcclient.h \
        wx/dcgraph.h \
        wx/dc.h \
        wx/dcclient.h \
        wx/dcgraph.h \
@@ -3928,6 +3932,7 @@ COND_USE_GUI_1_ALL_GUI_HEADERS =  \
        wx/generic/choicdgg.h \
        wx/generic/colrdlgg.h \
        wx/generic/combo.h \
        wx/generic/choicdgg.h \
        wx/generic/colrdlgg.h \
        wx/generic/combo.h \
+       wx/generic/custombgwin.h \
        wx/generic/dcpsg.h \
        wx/generic/dirctrlg.h \
        wx/generic/dragimgg.h \
        wx/generic/dcpsg.h \
        wx/generic/dirctrlg.h \
        wx/generic/dragimgg.h \
@@ -4700,7 +4705,6 @@ COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS =  \
        monodll_markuptext.o \
        monodll_msgdlgg.o \
        monodll_numdlgg.o \
        monodll_markuptext.o \
        monodll_msgdlgg.o \
        monodll_numdlgg.o \
-       monodll_panelg.o \
        monodll_progdlgg.o \
        monodll_printps.o \
        monodll_renderg.o \
        monodll_progdlgg.o \
        monodll_printps.o \
        monodll_renderg.o \
@@ -4917,7 +4921,6 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS =  \
        monodll_markuptext.o \
        monodll_msgdlgg.o \
        monodll_numdlgg.o \
        monodll_markuptext.o \
        monodll_msgdlgg.o \
        monodll_numdlgg.o \
-       monodll_panelg.o \
        monodll_progdlgg.o \
        monodll_printps.o \
        monodll_renderg.o \
        monodll_progdlgg.o \
        monodll_printps.o \
        monodll_renderg.o \
@@ -6654,7 +6657,6 @@ COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS_1 =  \
        monolib_markuptext.o \
        monolib_msgdlgg.o \
        monolib_numdlgg.o \
        monolib_markuptext.o \
        monolib_msgdlgg.o \
        monolib_numdlgg.o \
-       monolib_panelg.o \
        monolib_progdlgg.o \
        monolib_printps.o \
        monolib_renderg.o \
        monolib_progdlgg.o \
        monolib_printps.o \
        monolib_renderg.o \
@@ -6871,7 +6873,6 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS_1 =  \
        monolib_markuptext.o \
        monolib_msgdlgg.o \
        monolib_numdlgg.o \
        monolib_markuptext.o \
        monolib_msgdlgg.o \
        monolib_numdlgg.o \
-       monolib_panelg.o \
        monolib_progdlgg.o \
        monolib_printps.o \
        monolib_renderg.o \
        monolib_progdlgg.o \
        monolib_printps.o \
        monolib_renderg.o \
@@ -8787,7 +8788,6 @@ COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS_2 =  \
        coredll_markuptext.o \
        coredll_msgdlgg.o \
        coredll_numdlgg.o \
        coredll_markuptext.o \
        coredll_msgdlgg.o \
        coredll_numdlgg.o \
-       coredll_panelg.o \
        coredll_progdlgg.o \
        coredll_printps.o \
        coredll_renderg.o \
        coredll_progdlgg.o \
        coredll_printps.o \
        coredll_renderg.o \
@@ -9004,7 +9004,6 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS_2 =  \
        coredll_markuptext.o \
        coredll_msgdlgg.o \
        coredll_numdlgg.o \
        coredll_markuptext.o \
        coredll_msgdlgg.o \
        coredll_numdlgg.o \
-       coredll_panelg.o \
        coredll_progdlgg.o \
        coredll_printps.o \
        coredll_renderg.o \
        coredll_progdlgg.o \
        coredll_printps.o \
        coredll_renderg.o \
@@ -10381,7 +10380,6 @@ COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS_3 =  \
        corelib_markuptext.o \
        corelib_msgdlgg.o \
        corelib_numdlgg.o \
        corelib_markuptext.o \
        corelib_msgdlgg.o \
        corelib_numdlgg.o \
-       corelib_panelg.o \
        corelib_progdlgg.o \
        corelib_printps.o \
        corelib_renderg.o \
        corelib_progdlgg.o \
        corelib_printps.o \
        corelib_renderg.o \
@@ -10598,7 +10596,6 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS_3 =  \
        corelib_markuptext.o \
        corelib_msgdlgg.o \
        corelib_numdlgg.o \
        corelib_markuptext.o \
        corelib_msgdlgg.o \
        corelib_numdlgg.o \
-       corelib_panelg.o \
        corelib_progdlgg.o \
        corelib_printps.o \
        corelib_renderg.o \
        corelib_progdlgg.o \
        corelib_printps.o \
        corelib_renderg.o \
@@ -20559,9 +20556,6 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
 @COND_USE_GUI_1@monodll_numdlgg.o: $(srcdir)/src/generic/numdlgg.cpp $(MONODLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/numdlgg.cpp
 
 @COND_USE_GUI_1@monodll_numdlgg.o: $(srcdir)/src/generic/numdlgg.cpp $(MONODLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/numdlgg.cpp
 
-@COND_USE_GUI_1@monodll_panelg.o: $(srcdir)/src/generic/panelg.cpp $(MONODLL_ODEP)
-@COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/panelg.cpp
-
 @COND_USE_GUI_1@monodll_progdlgg.o: $(srcdir)/src/generic/progdlgg.cpp $(MONODLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/progdlgg.cpp
 
 @COND_USE_GUI_1@monodll_progdlgg.o: $(srcdir)/src/generic/progdlgg.cpp $(MONODLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/progdlgg.cpp
 
@@ -25932,9 +25926,6 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
 @COND_USE_GUI_1@monolib_numdlgg.o: $(srcdir)/src/generic/numdlgg.cpp $(MONOLIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/numdlgg.cpp
 
 @COND_USE_GUI_1@monolib_numdlgg.o: $(srcdir)/src/generic/numdlgg.cpp $(MONOLIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/numdlgg.cpp
 
-@COND_USE_GUI_1@monolib_panelg.o: $(srcdir)/src/generic/panelg.cpp $(MONOLIB_ODEP)
-@COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/panelg.cpp
-
 @COND_USE_GUI_1@monolib_progdlgg.o: $(srcdir)/src/generic/progdlgg.cpp $(MONOLIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/progdlgg.cpp
 
 @COND_USE_GUI_1@monolib_progdlgg.o: $(srcdir)/src/generic/progdlgg.cpp $(MONOLIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/progdlgg.cpp
 
@@ -31464,9 +31455,6 @@ coredll_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(COREDLL_ODEP)
 @COND_USE_GUI_1@coredll_numdlgg.o: $(srcdir)/src/generic/numdlgg.cpp $(COREDLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/numdlgg.cpp
 
 @COND_USE_GUI_1@coredll_numdlgg.o: $(srcdir)/src/generic/numdlgg.cpp $(COREDLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/numdlgg.cpp
 
-@COND_USE_GUI_1@coredll_panelg.o: $(srcdir)/src/generic/panelg.cpp $(COREDLL_ODEP)
-@COND_USE_GUI_1@       $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/panelg.cpp
-
 @COND_USE_GUI_1@coredll_progdlgg.o: $(srcdir)/src/generic/progdlgg.cpp $(COREDLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/progdlgg.cpp
 
 @COND_USE_GUI_1@coredll_progdlgg.o: $(srcdir)/src/generic/progdlgg.cpp $(COREDLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/progdlgg.cpp
 
@@ -35478,9 +35466,6 @@ corelib_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(CORELIB_ODEP)
 @COND_USE_GUI_1@corelib_numdlgg.o: $(srcdir)/src/generic/numdlgg.cpp $(CORELIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/numdlgg.cpp
 
 @COND_USE_GUI_1@corelib_numdlgg.o: $(srcdir)/src/generic/numdlgg.cpp $(CORELIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/numdlgg.cpp
 
-@COND_USE_GUI_1@corelib_panelg.o: $(srcdir)/src/generic/panelg.cpp $(CORELIB_ODEP)
-@COND_USE_GUI_1@       $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/panelg.cpp
-
 @COND_USE_GUI_1@corelib_progdlgg.o: $(srcdir)/src/generic/progdlgg.cpp $(CORELIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/progdlgg.cpp
 
 @COND_USE_GUI_1@corelib_progdlgg.o: $(srcdir)/src/generic/progdlgg.cpp $(CORELIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/progdlgg.cpp
 
index 4069889063e742168f2fa0e67494d6a897c017df..96b214b1bb7dd0726e6c76d1e172df7ef37faa4a 100644 (file)
@@ -789,7 +789,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     src/generic/markuptext.cpp
     src/generic/msgdlgg.cpp
     src/generic/numdlgg.cpp
     src/generic/markuptext.cpp
     src/generic/msgdlgg.cpp
     src/generic/numdlgg.cpp
-    src/generic/panelg.cpp
     src/generic/progdlgg.cpp
     src/generic/printps.cpp
     src/generic/renderg.cpp
     src/generic/progdlgg.cpp
     src/generic/printps.cpp
     src/generic/renderg.cpp
@@ -829,6 +828,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/control.h
     wx/ctrlsub.h
     wx/cursor.h
     wx/control.h
     wx/ctrlsub.h
     wx/cursor.h
+    wx/custombgwin.h
     wx/dc.h
     wx/dcclient.h
     wx/dcgraph.h
     wx/dc.h
     wx/dcclient.h
     wx/dcgraph.h
@@ -850,6 +850,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/generic/choicdgg.h
     wx/generic/colrdlgg.h
     wx/generic/combo.h
     wx/generic/choicdgg.h
     wx/generic/colrdlgg.h
     wx/generic/combo.h
+    wx/generic/custombgwin.h
     wx/generic/dcpsg.h
     wx/generic/dirctrlg.h
     wx/generic/dragimgg.h
     wx/generic/dcpsg.h
     wx/generic/dirctrlg.h
     wx/generic/dragimgg.h
@@ -1808,6 +1809,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/msw/control.h
     wx/msw/ctrlsub.h
     wx/msw/cursor.h
     wx/msw/control.h
     wx/msw/ctrlsub.h
     wx/msw/cursor.h
+    wx/msw/custombgwin.h
     wx/msw/dc.h
     wx/msw/dcclient.h
     wx/msw/dcmemory.h
     wx/msw/dc.h
     wx/msw/dcclient.h
     wx/msw/dcmemory.h
@@ -2911,6 +2913,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/univ/colschem.h
     wx/univ/combobox.h
     wx/univ/control.h
     wx/univ/colschem.h
     wx/univ/combobox.h
     wx/univ/control.h
+    wx/univ/custombgwin.h
     wx/univ/dialog.h
     wx/univ/frame.h
     wx/univ/gauge.h
     wx/univ/dialog.h
     wx/univ/frame.h
     wx/univ/gauge.h
index 4e6047c9b4daf209973258aeda1e7bb10f5ad76b..d5711717d8f44c0e47dc6a373c4fd3bd450767b6 100644 (file)
@@ -1969,7 +1969,6 @@ ____CORE_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_markuptext.obj \\r
        $(OBJS)\monodll_msgdlgg.obj \\r
        $(OBJS)\monodll_numdlgg.obj \\r
        $(OBJS)\monodll_markuptext.obj \\r
        $(OBJS)\monodll_msgdlgg.obj \\r
        $(OBJS)\monodll_numdlgg.obj \\r
-       $(OBJS)\monodll_panelg.obj \\r
        $(OBJS)\monodll_progdlgg.obj \\r
        $(OBJS)\monodll_printps.obj \\r
        $(OBJS)\monodll_renderg.obj \\r
        $(OBJS)\monodll_progdlgg.obj \\r
        $(OBJS)\monodll_printps.obj \\r
        $(OBJS)\monodll_renderg.obj \\r
@@ -2236,7 +2235,6 @@ ____CORE_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_markuptext.obj \\r
        $(OBJS)\monodll_msgdlgg.obj \\r
        $(OBJS)\monodll_numdlgg.obj \\r
        $(OBJS)\monodll_markuptext.obj \\r
        $(OBJS)\monodll_msgdlgg.obj \\r
        $(OBJS)\monodll_numdlgg.obj \\r
-       $(OBJS)\monodll_panelg.obj \\r
        $(OBJS)\monodll_progdlgg.obj \\r
        $(OBJS)\monodll_printps.obj \\r
        $(OBJS)\monodll_renderg.obj \\r
        $(OBJS)\monodll_progdlgg.obj \\r
        $(OBJS)\monodll_printps.obj \\r
        $(OBJS)\monodll_renderg.obj \\r
@@ -2748,7 +2746,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_markuptext.obj \\r
        $(OBJS)\monolib_msgdlgg.obj \\r
        $(OBJS)\monolib_numdlgg.obj \\r
        $(OBJS)\monolib_markuptext.obj \\r
        $(OBJS)\monolib_msgdlgg.obj \\r
        $(OBJS)\monolib_numdlgg.obj \\r
-       $(OBJS)\monolib_panelg.obj \\r
        $(OBJS)\monolib_progdlgg.obj \\r
        $(OBJS)\monolib_printps.obj \\r
        $(OBJS)\monolib_renderg.obj \\r
        $(OBJS)\monolib_progdlgg.obj \\r
        $(OBJS)\monolib_printps.obj \\r
        $(OBJS)\monolib_renderg.obj \\r
@@ -3015,7 +3012,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_markuptext.obj \\r
        $(OBJS)\monolib_msgdlgg.obj \\r
        $(OBJS)\monolib_numdlgg.obj \\r
        $(OBJS)\monolib_markuptext.obj \\r
        $(OBJS)\monolib_msgdlgg.obj \\r
        $(OBJS)\monolib_numdlgg.obj \\r
-       $(OBJS)\monolib_panelg.obj \\r
        $(OBJS)\monolib_progdlgg.obj \\r
        $(OBJS)\monolib_printps.obj \\r
        $(OBJS)\monolib_renderg.obj \\r
        $(OBJS)\monolib_progdlgg.obj \\r
        $(OBJS)\monolib_printps.obj \\r
        $(OBJS)\monolib_renderg.obj \\r
@@ -3410,7 +3406,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\coredll_markuptext.obj \\r
        $(OBJS)\coredll_msgdlgg.obj \\r
        $(OBJS)\coredll_numdlgg.obj \\r
        $(OBJS)\coredll_markuptext.obj \\r
        $(OBJS)\coredll_msgdlgg.obj \\r
        $(OBJS)\coredll_numdlgg.obj \\r
-       $(OBJS)\coredll_panelg.obj \\r
        $(OBJS)\coredll_progdlgg.obj \\r
        $(OBJS)\coredll_printps.obj \\r
        $(OBJS)\coredll_renderg.obj \\r
        $(OBJS)\coredll_progdlgg.obj \\r
        $(OBJS)\coredll_printps.obj \\r
        $(OBJS)\coredll_renderg.obj \\r
@@ -3677,7 +3672,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\coredll_markuptext.obj \\r
        $(OBJS)\coredll_msgdlgg.obj \\r
        $(OBJS)\coredll_numdlgg.obj \\r
        $(OBJS)\coredll_markuptext.obj \\r
        $(OBJS)\coredll_msgdlgg.obj \\r
        $(OBJS)\coredll_numdlgg.obj \\r
-       $(OBJS)\coredll_panelg.obj \\r
        $(OBJS)\coredll_progdlgg.obj \\r
        $(OBJS)\coredll_printps.obj \\r
        $(OBJS)\coredll_renderg.obj \\r
        $(OBJS)\coredll_progdlgg.obj \\r
        $(OBJS)\coredll_printps.obj \\r
        $(OBJS)\coredll_renderg.obj \\r
@@ -3954,7 +3948,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\corelib_markuptext.obj \\r
        $(OBJS)\corelib_msgdlgg.obj \\r
        $(OBJS)\corelib_numdlgg.obj \\r
        $(OBJS)\corelib_markuptext.obj \\r
        $(OBJS)\corelib_msgdlgg.obj \\r
        $(OBJS)\corelib_numdlgg.obj \\r
-       $(OBJS)\corelib_panelg.obj \\r
        $(OBJS)\corelib_progdlgg.obj \\r
        $(OBJS)\corelib_printps.obj \\r
        $(OBJS)\corelib_renderg.obj \\r
        $(OBJS)\corelib_progdlgg.obj \\r
        $(OBJS)\corelib_printps.obj \\r
        $(OBJS)\corelib_renderg.obj \\r
@@ -4221,7 +4214,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\corelib_markuptext.obj \\r
        $(OBJS)\corelib_msgdlgg.obj \\r
        $(OBJS)\corelib_numdlgg.obj \\r
        $(OBJS)\corelib_markuptext.obj \\r
        $(OBJS)\corelib_msgdlgg.obj \\r
        $(OBJS)\corelib_numdlgg.obj \\r
-       $(OBJS)\corelib_panelg.obj \\r
        $(OBJS)\corelib_progdlgg.obj \\r
        $(OBJS)\corelib_printps.obj \\r
        $(OBJS)\corelib_renderg.obj \\r
        $(OBJS)\corelib_progdlgg.obj \\r
        $(OBJS)\corelib_printps.obj \\r
        $(OBJS)\corelib_renderg.obj \\r
@@ -8133,11 +8125,6 @@ $(OBJS)\monodll_numdlgg.obj: ..\..\src\generic\numdlgg.cpp
        $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
        $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\monodll_panelg.obj: ..\..\src\generic\panelg.cpp\r
-       $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\panelg.cpp\r
-!endif\r
-\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\monodll_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\monodll_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
@@ -10525,11 +10512,6 @@ $(OBJS)\monolib_numdlgg.obj: ..\..\src\generic\numdlgg.cpp
        $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
        $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\monolib_panelg.obj: ..\..\src\generic\panelg.cpp\r
-       $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\panelg.cpp\r
-!endif\r
-\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\monolib_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\monolib_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
@@ -12887,11 +12869,6 @@ $(OBJS)\coredll_numdlgg.obj: ..\..\src\generic\numdlgg.cpp
        $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
        $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\coredll_panelg.obj: ..\..\src\generic\panelg.cpp\r
-       $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\panelg.cpp\r
-!endif\r
-\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\coredll_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\coredll_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
@@ -14300,11 +14277,6 @@ $(OBJS)\corelib_numdlgg.obj: ..\..\src\generic\numdlgg.cpp
        $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
        $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\corelib_panelg.obj: ..\..\src\generic\panelg.cpp\r
-       $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\panelg.cpp\r
-!endif\r
-\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\corelib_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\corelib_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
index 5973775952279182dcebd57487a4890fa52e415e..7ecbd48b78b82ccbcbc23c4fd4561ee15d1fdbcf 100644 (file)
@@ -1981,7 +1981,6 @@ ____CORE_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_markuptext.o \\r
        $(OBJS)\monodll_msgdlgg.o \\r
        $(OBJS)\monodll_numdlgg.o \\r
        $(OBJS)\monodll_markuptext.o \\r
        $(OBJS)\monodll_msgdlgg.o \\r
        $(OBJS)\monodll_numdlgg.o \\r
-       $(OBJS)\monodll_panelg.o \\r
        $(OBJS)\monodll_progdlgg.o \\r
        $(OBJS)\monodll_printps.o \\r
        $(OBJS)\monodll_renderg.o \\r
        $(OBJS)\monodll_progdlgg.o \\r
        $(OBJS)\monodll_printps.o \\r
        $(OBJS)\monodll_renderg.o \\r
@@ -2250,7 +2249,6 @@ ____CORE_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_markuptext.o \\r
        $(OBJS)\monodll_msgdlgg.o \\r
        $(OBJS)\monodll_numdlgg.o \\r
        $(OBJS)\monodll_markuptext.o \\r
        $(OBJS)\monodll_msgdlgg.o \\r
        $(OBJS)\monodll_numdlgg.o \\r
-       $(OBJS)\monodll_panelg.o \\r
        $(OBJS)\monodll_progdlgg.o \\r
        $(OBJS)\monodll_printps.o \\r
        $(OBJS)\monodll_renderg.o \\r
        $(OBJS)\monodll_progdlgg.o \\r
        $(OBJS)\monodll_printps.o \\r
        $(OBJS)\monodll_renderg.o \\r
@@ -2766,7 +2764,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_markuptext.o \\r
        $(OBJS)\monolib_msgdlgg.o \\r
        $(OBJS)\monolib_numdlgg.o \\r
        $(OBJS)\monolib_markuptext.o \\r
        $(OBJS)\monolib_msgdlgg.o \\r
        $(OBJS)\monolib_numdlgg.o \\r
-       $(OBJS)\monolib_panelg.o \\r
        $(OBJS)\monolib_progdlgg.o \\r
        $(OBJS)\monolib_printps.o \\r
        $(OBJS)\monolib_renderg.o \\r
        $(OBJS)\monolib_progdlgg.o \\r
        $(OBJS)\monolib_printps.o \\r
        $(OBJS)\monolib_renderg.o \\r
@@ -3035,7 +3032,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_markuptext.o \\r
        $(OBJS)\monolib_msgdlgg.o \\r
        $(OBJS)\monolib_numdlgg.o \\r
        $(OBJS)\monolib_markuptext.o \\r
        $(OBJS)\monolib_msgdlgg.o \\r
        $(OBJS)\monolib_numdlgg.o \\r
-       $(OBJS)\monolib_panelg.o \\r
        $(OBJS)\monolib_progdlgg.o \\r
        $(OBJS)\monolib_printps.o \\r
        $(OBJS)\monolib_renderg.o \\r
        $(OBJS)\monolib_progdlgg.o \\r
        $(OBJS)\monolib_printps.o \\r
        $(OBJS)\monolib_renderg.o \\r
@@ -3444,7 +3440,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\coredll_markuptext.o \\r
        $(OBJS)\coredll_msgdlgg.o \\r
        $(OBJS)\coredll_numdlgg.o \\r
        $(OBJS)\coredll_markuptext.o \\r
        $(OBJS)\coredll_msgdlgg.o \\r
        $(OBJS)\coredll_numdlgg.o \\r
-       $(OBJS)\coredll_panelg.o \\r
        $(OBJS)\coredll_progdlgg.o \\r
        $(OBJS)\coredll_printps.o \\r
        $(OBJS)\coredll_renderg.o \\r
        $(OBJS)\coredll_progdlgg.o \\r
        $(OBJS)\coredll_printps.o \\r
        $(OBJS)\coredll_renderg.o \\r
@@ -3713,7 +3708,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\coredll_markuptext.o \\r
        $(OBJS)\coredll_msgdlgg.o \\r
        $(OBJS)\coredll_numdlgg.o \\r
        $(OBJS)\coredll_markuptext.o \\r
        $(OBJS)\coredll_msgdlgg.o \\r
        $(OBJS)\coredll_numdlgg.o \\r
-       $(OBJS)\coredll_panelg.o \\r
        $(OBJS)\coredll_progdlgg.o \\r
        $(OBJS)\coredll_printps.o \\r
        $(OBJS)\coredll_renderg.o \\r
        $(OBJS)\coredll_progdlgg.o \\r
        $(OBJS)\coredll_printps.o \\r
        $(OBJS)\coredll_renderg.o \\r
@@ -3996,7 +3990,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\corelib_markuptext.o \\r
        $(OBJS)\corelib_msgdlgg.o \\r
        $(OBJS)\corelib_numdlgg.o \\r
        $(OBJS)\corelib_markuptext.o \\r
        $(OBJS)\corelib_msgdlgg.o \\r
        $(OBJS)\corelib_numdlgg.o \\r
-       $(OBJS)\corelib_panelg.o \\r
        $(OBJS)\corelib_progdlgg.o \\r
        $(OBJS)\corelib_printps.o \\r
        $(OBJS)\corelib_renderg.o \\r
        $(OBJS)\corelib_progdlgg.o \\r
        $(OBJS)\corelib_printps.o \\r
        $(OBJS)\corelib_renderg.o \\r
@@ -4265,7 +4258,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\corelib_markuptext.o \\r
        $(OBJS)\corelib_msgdlgg.o \\r
        $(OBJS)\corelib_numdlgg.o \\r
        $(OBJS)\corelib_markuptext.o \\r
        $(OBJS)\corelib_msgdlgg.o \\r
        $(OBJS)\corelib_numdlgg.o \\r
-       $(OBJS)\corelib_panelg.o \\r
        $(OBJS)\corelib_progdlgg.o \\r
        $(OBJS)\corelib_printps.o \\r
        $(OBJS)\corelib_renderg.o \\r
        $(OBJS)\corelib_progdlgg.o \\r
        $(OBJS)\corelib_printps.o \\r
        $(OBJS)\corelib_renderg.o \\r
@@ -8301,11 +8293,6 @@ $(OBJS)\monodll_numdlgg.o: ../../src/generic/numdlgg.cpp
        $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
        $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
-ifeq ($(USE_GUI),1)\r
-$(OBJS)\monodll_panelg.o: ../../src/generic/panelg.cpp\r
-       $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
-endif\r
-\r
 ifeq ($(USE_GUI),1)\r
 $(OBJS)\monodll_progdlgg.o: ../../src/generic/progdlgg.cpp\r
        $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
 ifeq ($(USE_GUI),1)\r
 $(OBJS)\monodll_progdlgg.o: ../../src/generic/progdlgg.cpp\r
        $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
@@ -10693,11 +10680,6 @@ $(OBJS)\monolib_numdlgg.o: ../../src/generic/numdlgg.cpp
        $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
        $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
-ifeq ($(USE_GUI),1)\r
-$(OBJS)\monolib_panelg.o: ../../src/generic/panelg.cpp\r
-       $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
-endif\r
-\r
 ifeq ($(USE_GUI),1)\r
 $(OBJS)\monolib_progdlgg.o: ../../src/generic/progdlgg.cpp\r
        $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
 ifeq ($(USE_GUI),1)\r
 $(OBJS)\monolib_progdlgg.o: ../../src/generic/progdlgg.cpp\r
        $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
@@ -13055,11 +13037,6 @@ $(OBJS)\coredll_numdlgg.o: ../../src/generic/numdlgg.cpp
        $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
        $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
-ifeq ($(USE_GUI),1)\r
-$(OBJS)\coredll_panelg.o: ../../src/generic/panelg.cpp\r
-       $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
-endif\r
-\r
 ifeq ($(USE_GUI),1)\r
 $(OBJS)\coredll_progdlgg.o: ../../src/generic/progdlgg.cpp\r
        $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
 ifeq ($(USE_GUI),1)\r
 $(OBJS)\coredll_progdlgg.o: ../../src/generic/progdlgg.cpp\r
        $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
@@ -14468,11 +14445,6 @@ $(OBJS)\corelib_numdlgg.o: ../../src/generic/numdlgg.cpp
        $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
        $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
-ifeq ($(USE_GUI),1)\r
-$(OBJS)\corelib_panelg.o: ../../src/generic/panelg.cpp\r
-       $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
-endif\r
-\r
 ifeq ($(USE_GUI),1)\r
 $(OBJS)\corelib_progdlgg.o: ../../src/generic/progdlgg.cpp\r
        $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
 ifeq ($(USE_GUI),1)\r
 $(OBJS)\corelib_progdlgg.o: ../../src/generic/progdlgg.cpp\r
        $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
index 2747640a4098344230fa918ad8c04b7b508b051c..51871e75ab66ad16da27972105ca462ddc09470a 100644 (file)
@@ -2183,7 +2183,6 @@ ____CORE_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_markuptext.obj \\r
        $(OBJS)\monodll_msgdlgg.obj \\r
        $(OBJS)\monodll_numdlgg.obj \\r
        $(OBJS)\monodll_markuptext.obj \\r
        $(OBJS)\monodll_msgdlgg.obj \\r
        $(OBJS)\monodll_numdlgg.obj \\r
-       $(OBJS)\monodll_panelg.obj \\r
        $(OBJS)\monodll_progdlgg.obj \\r
        $(OBJS)\monodll_printps.obj \\r
        $(OBJS)\monodll_renderg.obj \\r
        $(OBJS)\monodll_progdlgg.obj \\r
        $(OBJS)\monodll_printps.obj \\r
        $(OBJS)\monodll_renderg.obj \\r
@@ -2450,7 +2449,6 @@ ____CORE_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_markuptext.obj \\r
        $(OBJS)\monodll_msgdlgg.obj \\r
        $(OBJS)\monodll_numdlgg.obj \\r
        $(OBJS)\monodll_markuptext.obj \\r
        $(OBJS)\monodll_msgdlgg.obj \\r
        $(OBJS)\monodll_numdlgg.obj \\r
-       $(OBJS)\monodll_panelg.obj \\r
        $(OBJS)\monodll_progdlgg.obj \\r
        $(OBJS)\monodll_printps.obj \\r
        $(OBJS)\monodll_renderg.obj \\r
        $(OBJS)\monodll_progdlgg.obj \\r
        $(OBJS)\monodll_printps.obj \\r
        $(OBJS)\monodll_renderg.obj \\r
@@ -2968,7 +2966,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_markuptext.obj \\r
        $(OBJS)\monolib_msgdlgg.obj \\r
        $(OBJS)\monolib_numdlgg.obj \\r
        $(OBJS)\monolib_markuptext.obj \\r
        $(OBJS)\monolib_msgdlgg.obj \\r
        $(OBJS)\monolib_numdlgg.obj \\r
-       $(OBJS)\monolib_panelg.obj \\r
        $(OBJS)\monolib_progdlgg.obj \\r
        $(OBJS)\monolib_printps.obj \\r
        $(OBJS)\monolib_renderg.obj \\r
        $(OBJS)\monolib_progdlgg.obj \\r
        $(OBJS)\monolib_printps.obj \\r
        $(OBJS)\monolib_renderg.obj \\r
@@ -3235,7 +3232,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_markuptext.obj \\r
        $(OBJS)\monolib_msgdlgg.obj \\r
        $(OBJS)\monolib_numdlgg.obj \\r
        $(OBJS)\monolib_markuptext.obj \\r
        $(OBJS)\monolib_msgdlgg.obj \\r
        $(OBJS)\monolib_numdlgg.obj \\r
-       $(OBJS)\monolib_panelg.obj \\r
        $(OBJS)\monolib_progdlgg.obj \\r
        $(OBJS)\monolib_printps.obj \\r
        $(OBJS)\monolib_renderg.obj \\r
        $(OBJS)\monolib_progdlgg.obj \\r
        $(OBJS)\monolib_printps.obj \\r
        $(OBJS)\monolib_renderg.obj \\r
@@ -3696,7 +3692,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\coredll_markuptext.obj \\r
        $(OBJS)\coredll_msgdlgg.obj \\r
        $(OBJS)\coredll_numdlgg.obj \\r
        $(OBJS)\coredll_markuptext.obj \\r
        $(OBJS)\coredll_msgdlgg.obj \\r
        $(OBJS)\coredll_numdlgg.obj \\r
-       $(OBJS)\coredll_panelg.obj \\r
        $(OBJS)\coredll_progdlgg.obj \\r
        $(OBJS)\coredll_printps.obj \\r
        $(OBJS)\coredll_renderg.obj \\r
        $(OBJS)\coredll_progdlgg.obj \\r
        $(OBJS)\coredll_printps.obj \\r
        $(OBJS)\coredll_renderg.obj \\r
@@ -3963,7 +3958,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\coredll_markuptext.obj \\r
        $(OBJS)\coredll_msgdlgg.obj \\r
        $(OBJS)\coredll_numdlgg.obj \\r
        $(OBJS)\coredll_markuptext.obj \\r
        $(OBJS)\coredll_msgdlgg.obj \\r
        $(OBJS)\coredll_numdlgg.obj \\r
-       $(OBJS)\coredll_panelg.obj \\r
        $(OBJS)\coredll_progdlgg.obj \\r
        $(OBJS)\coredll_printps.obj \\r
        $(OBJS)\coredll_renderg.obj \\r
        $(OBJS)\coredll_progdlgg.obj \\r
        $(OBJS)\coredll_printps.obj \\r
        $(OBJS)\coredll_renderg.obj \\r
@@ -4246,7 +4240,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\corelib_markuptext.obj \\r
        $(OBJS)\corelib_msgdlgg.obj \\r
        $(OBJS)\corelib_numdlgg.obj \\r
        $(OBJS)\corelib_markuptext.obj \\r
        $(OBJS)\corelib_msgdlgg.obj \\r
        $(OBJS)\corelib_numdlgg.obj \\r
-       $(OBJS)\corelib_panelg.obj \\r
        $(OBJS)\corelib_progdlgg.obj \\r
        $(OBJS)\corelib_printps.obj \\r
        $(OBJS)\corelib_renderg.obj \\r
        $(OBJS)\corelib_progdlgg.obj \\r
        $(OBJS)\corelib_printps.obj \\r
        $(OBJS)\corelib_renderg.obj \\r
@@ -4513,7 +4506,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\corelib_markuptext.obj \\r
        $(OBJS)\corelib_msgdlgg.obj \\r
        $(OBJS)\corelib_numdlgg.obj \\r
        $(OBJS)\corelib_markuptext.obj \\r
        $(OBJS)\corelib_msgdlgg.obj \\r
        $(OBJS)\corelib_numdlgg.obj \\r
-       $(OBJS)\corelib_panelg.obj \\r
        $(OBJS)\corelib_progdlgg.obj \\r
        $(OBJS)\corelib_printps.obj \\r
        $(OBJS)\corelib_renderg.obj \\r
        $(OBJS)\corelib_progdlgg.obj \\r
        $(OBJS)\corelib_printps.obj \\r
        $(OBJS)\corelib_renderg.obj \\r
@@ -8739,11 +8731,6 @@ $(OBJS)\monodll_numdlgg.obj: ..\..\src\generic\numdlgg.cpp
        $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
        $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\monodll_panelg.obj: ..\..\src\generic\panelg.cpp\r
-       $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\panelg.cpp\r
-!endif\r
-\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\monodll_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\monodll_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
@@ -11131,11 +11118,6 @@ $(OBJS)\monolib_numdlgg.obj: ..\..\src\generic\numdlgg.cpp
        $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
        $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\monolib_panelg.obj: ..\..\src\generic\panelg.cpp\r
-       $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\panelg.cpp\r
-!endif\r
-\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\monolib_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\monolib_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
@@ -13493,11 +13475,6 @@ $(OBJS)\coredll_numdlgg.obj: ..\..\src\generic\numdlgg.cpp
        $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
        $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\coredll_panelg.obj: ..\..\src\generic\panelg.cpp\r
-       $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\panelg.cpp\r
-!endif\r
-\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\coredll_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\coredll_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
@@ -14906,11 +14883,6 @@ $(OBJS)\corelib_numdlgg.obj: ..\..\src\generic\numdlgg.cpp
        $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
        $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\numdlgg.cpp\r
 !endif\r
 \r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\corelib_panelg.obj: ..\..\src\generic\panelg.cpp\r
-       $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\panelg.cpp\r
-!endif\r
-\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\corelib_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
 !if "$(USE_GUI)" == "1"\r
 $(OBJS)\corelib_progdlgg.obj: ..\..\src\generic\progdlgg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\progdlgg.cpp\r
index 728f2d636eb53814e82539811c9e66571215c1d8..f85b42f0689b507163b8f37298591141112536da 100644 (file)
@@ -498,7 +498,6 @@ ____CORE_SRC_FILENAMES_OBJECTS =  &
        $(OBJS)\monodll_markuptext.obj &\r
        $(OBJS)\monodll_msgdlgg.obj &\r
        $(OBJS)\monodll_numdlgg.obj &\r
        $(OBJS)\monodll_markuptext.obj &\r
        $(OBJS)\monodll_msgdlgg.obj &\r
        $(OBJS)\monodll_numdlgg.obj &\r
-       $(OBJS)\monodll_panelg.obj &\r
        $(OBJS)\monodll_progdlgg.obj &\r
        $(OBJS)\monodll_printps.obj &\r
        $(OBJS)\monodll_renderg.obj &\r
        $(OBJS)\monodll_progdlgg.obj &\r
        $(OBJS)\monodll_printps.obj &\r
        $(OBJS)\monodll_renderg.obj &\r
@@ -767,7 +766,6 @@ ____CORE_SRC_FILENAMES_OBJECTS =  &
        $(OBJS)\monodll_markuptext.obj &\r
        $(OBJS)\monodll_msgdlgg.obj &\r
        $(OBJS)\monodll_numdlgg.obj &\r
        $(OBJS)\monodll_markuptext.obj &\r
        $(OBJS)\monodll_msgdlgg.obj &\r
        $(OBJS)\monodll_numdlgg.obj &\r
-       $(OBJS)\monodll_panelg.obj &\r
        $(OBJS)\monodll_progdlgg.obj &\r
        $(OBJS)\monodll_printps.obj &\r
        $(OBJS)\monodll_renderg.obj &\r
        $(OBJS)\monodll_progdlgg.obj &\r
        $(OBJS)\monodll_printps.obj &\r
        $(OBJS)\monodll_renderg.obj &\r
@@ -1288,7 +1286,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS =  &
        $(OBJS)\monolib_markuptext.obj &\r
        $(OBJS)\monolib_msgdlgg.obj &\r
        $(OBJS)\monolib_numdlgg.obj &\r
        $(OBJS)\monolib_markuptext.obj &\r
        $(OBJS)\monolib_msgdlgg.obj &\r
        $(OBJS)\monolib_numdlgg.obj &\r
-       $(OBJS)\monolib_panelg.obj &\r
        $(OBJS)\monolib_progdlgg.obj &\r
        $(OBJS)\monolib_printps.obj &\r
        $(OBJS)\monolib_renderg.obj &\r
        $(OBJS)\monolib_progdlgg.obj &\r
        $(OBJS)\monolib_printps.obj &\r
        $(OBJS)\monolib_renderg.obj &\r
@@ -1557,7 +1554,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS =  &
        $(OBJS)\monolib_markuptext.obj &\r
        $(OBJS)\monolib_msgdlgg.obj &\r
        $(OBJS)\monolib_numdlgg.obj &\r
        $(OBJS)\monolib_markuptext.obj &\r
        $(OBJS)\monolib_msgdlgg.obj &\r
        $(OBJS)\monolib_numdlgg.obj &\r
-       $(OBJS)\monolib_panelg.obj &\r
        $(OBJS)\monolib_progdlgg.obj &\r
        $(OBJS)\monolib_printps.obj &\r
        $(OBJS)\monolib_renderg.obj &\r
        $(OBJS)\monolib_progdlgg.obj &\r
        $(OBJS)\monolib_printps.obj &\r
        $(OBJS)\monolib_renderg.obj &\r
@@ -1977,7 +1973,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS =  &
        $(OBJS)\coredll_markuptext.obj &\r
        $(OBJS)\coredll_msgdlgg.obj &\r
        $(OBJS)\coredll_numdlgg.obj &\r
        $(OBJS)\coredll_markuptext.obj &\r
        $(OBJS)\coredll_msgdlgg.obj &\r
        $(OBJS)\coredll_numdlgg.obj &\r
-       $(OBJS)\coredll_panelg.obj &\r
        $(OBJS)\coredll_progdlgg.obj &\r
        $(OBJS)\coredll_printps.obj &\r
        $(OBJS)\coredll_renderg.obj &\r
        $(OBJS)\coredll_progdlgg.obj &\r
        $(OBJS)\coredll_printps.obj &\r
        $(OBJS)\coredll_renderg.obj &\r
@@ -2246,7 +2241,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS =  &
        $(OBJS)\coredll_markuptext.obj &\r
        $(OBJS)\coredll_msgdlgg.obj &\r
        $(OBJS)\coredll_numdlgg.obj &\r
        $(OBJS)\coredll_markuptext.obj &\r
        $(OBJS)\coredll_msgdlgg.obj &\r
        $(OBJS)\coredll_numdlgg.obj &\r
-       $(OBJS)\coredll_panelg.obj &\r
        $(OBJS)\coredll_progdlgg.obj &\r
        $(OBJS)\coredll_printps.obj &\r
        $(OBJS)\coredll_renderg.obj &\r
        $(OBJS)\coredll_progdlgg.obj &\r
        $(OBJS)\coredll_printps.obj &\r
        $(OBJS)\coredll_renderg.obj &\r
@@ -2531,7 +2525,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS =  &
        $(OBJS)\corelib_markuptext.obj &\r
        $(OBJS)\corelib_msgdlgg.obj &\r
        $(OBJS)\corelib_numdlgg.obj &\r
        $(OBJS)\corelib_markuptext.obj &\r
        $(OBJS)\corelib_msgdlgg.obj &\r
        $(OBJS)\corelib_numdlgg.obj &\r
-       $(OBJS)\corelib_panelg.obj &\r
        $(OBJS)\corelib_progdlgg.obj &\r
        $(OBJS)\corelib_printps.obj &\r
        $(OBJS)\corelib_renderg.obj &\r
        $(OBJS)\corelib_progdlgg.obj &\r
        $(OBJS)\corelib_printps.obj &\r
        $(OBJS)\corelib_renderg.obj &\r
@@ -2800,7 +2793,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS =  &
        $(OBJS)\corelib_markuptext.obj &\r
        $(OBJS)\corelib_msgdlgg.obj &\r
        $(OBJS)\corelib_numdlgg.obj &\r
        $(OBJS)\corelib_markuptext.obj &\r
        $(OBJS)\corelib_msgdlgg.obj &\r
        $(OBJS)\corelib_numdlgg.obj &\r
-       $(OBJS)\corelib_panelg.obj &\r
        $(OBJS)\corelib_progdlgg.obj &\r
        $(OBJS)\corelib_printps.obj &\r
        $(OBJS)\corelib_renderg.obj &\r
        $(OBJS)\corelib_progdlgg.obj &\r
        $(OBJS)\corelib_printps.obj &\r
        $(OBJS)\corelib_renderg.obj &\r
@@ -8572,11 +8564,6 @@ $(OBJS)\monodll_numdlgg.obj :  .AUTODEPEND ..\..\src\generic\numdlgg.cpp
        $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
 !endif\r
 \r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
 !endif\r
 \r
-!ifeq USE_GUI 1\r
-$(OBJS)\monodll_panelg.obj :  .AUTODEPEND ..\..\src\generic\panelg.cpp\r
-       $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
-!endif\r
-\r
 !ifeq USE_GUI 1\r
 $(OBJS)\monodll_progdlgg.obj :  .AUTODEPEND ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
 !ifeq USE_GUI 1\r
 $(OBJS)\monodll_progdlgg.obj :  .AUTODEPEND ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
@@ -10964,11 +10951,6 @@ $(OBJS)\monolib_numdlgg.obj :  .AUTODEPEND ..\..\src\generic\numdlgg.cpp
        $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
 !endif\r
 \r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
 !endif\r
 \r
-!ifeq USE_GUI 1\r
-$(OBJS)\monolib_panelg.obj :  .AUTODEPEND ..\..\src\generic\panelg.cpp\r
-       $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
-!endif\r
-\r
 !ifeq USE_GUI 1\r
 $(OBJS)\monolib_progdlgg.obj :  .AUTODEPEND ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
 !ifeq USE_GUI 1\r
 $(OBJS)\monolib_progdlgg.obj :  .AUTODEPEND ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
@@ -13326,11 +13308,6 @@ $(OBJS)\coredll_numdlgg.obj :  .AUTODEPEND ..\..\src\generic\numdlgg.cpp
        $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
 !endif\r
 \r
        $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
 !endif\r
 \r
-!ifeq USE_GUI 1\r
-$(OBJS)\coredll_panelg.obj :  .AUTODEPEND ..\..\src\generic\panelg.cpp\r
-       $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
-!endif\r
-\r
 !ifeq USE_GUI 1\r
 $(OBJS)\coredll_progdlgg.obj :  .AUTODEPEND ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
 !ifeq USE_GUI 1\r
 $(OBJS)\coredll_progdlgg.obj :  .AUTODEPEND ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
@@ -14739,11 +14716,6 @@ $(OBJS)\corelib_numdlgg.obj :  .AUTODEPEND ..\..\src\generic\numdlgg.cpp
        $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
 !endif\r
 \r
        $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
 !endif\r
 \r
-!ifeq USE_GUI 1\r
-$(OBJS)\corelib_panelg.obj :  .AUTODEPEND ..\..\src\generic\panelg.cpp\r
-       $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
-!endif\r
-\r
 !ifeq USE_GUI 1\r
 $(OBJS)\corelib_progdlgg.obj :  .AUTODEPEND ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
 !ifeq USE_GUI 1\r
 $(OBJS)\corelib_progdlgg.obj :  .AUTODEPEND ..\..\src\generic\progdlgg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
index 55f85c60f16cb70f8269755d143eb8e32b90ab72..e9ee7ffc94d9d02e68f3cd1b4380efc8ccff20a9 100644 (file)
@@ -3244,10 +3244,6 @@ SOURCE=..\..\src\generic\numdlgg.cpp
 # End Source File\r
 # Begin Source File\r
 \r
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\..\src\generic\panelg.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
 SOURCE=..\..\src\generic\printps.cpp\r
 # End Source File\r
 # Begin Source File\r
 SOURCE=..\..\src\generic\printps.cpp\r
 # End Source File\r
 # Begin Source File\r
@@ -5013,6 +5009,10 @@ SOURCE=..\..\include\wx\msw\cursor.h
 # End Source File\r
 # Begin Source File\r
 \r
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE=..\..\include\wx\msw\custombgwin.h
+# End Source File
+# Begin Source File
+
 SOURCE=..\..\include\wx\msw\ole\dataform.h\r
 # End Source File\r
 # Begin Source File\r
 SOURCE=..\..\include\wx\msw\ole\dataform.h\r
 # End Source File\r
 # Begin Source File\r
@@ -5504,6 +5504,10 @@ SOURCE=..\..\include\wx\generic\ctrlsub.h
 # End Source File\r
 # Begin Source File\r
 \r
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE=..\..\include\wx\generic\custombgwin.h
+# End Source File
+# Begin Source File
+
 SOURCE=..\..\include\wx\generic\dataview.h\r
 # End Source File\r
 # Begin Source File\r
 SOURCE=..\..\include\wx\generic\dataview.h\r
 # End Source File\r
 # Begin Source File\r
@@ -5748,6 +5752,10 @@ SOURCE=..\..\include\wx\univ\control.h
 # End Source File\r
 # Begin Source File\r
 \r
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE=..\..\include\wx\univ\custombgwin.h
+# End Source File
+# Begin Source File
+
 SOURCE=..\..\include\wx\univ\dialog.h\r
 # End Source File\r
 # Begin Source File\r
 SOURCE=..\..\include\wx\univ\dialog.h\r
 # End Source File\r
 # Begin Source File\r
@@ -6152,6 +6160,10 @@ SOURCE=..\..\include\wx\cursor.h
 # End Source File\r
 # Begin Source File\r
 \r
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE=..\..\include\wx\custombgwin.h
+# End Source File
+# Begin Source File
+
 SOURCE=..\..\include\wx\dataobj.h\r
 # End Source File\r
 # Begin Source File\r
 SOURCE=..\..\include\wx\dataobj.h\r
 # End Source File\r
 # Begin Source File\r
index 0119ad154ead7c9dfe2423b1485dfbeff2f2ad77..1f08edf19cf217949517d88915ab9385ac194c91 100644 (file)
                        <File\r
                                RelativePath="..\..\src\generic\numdlgg.cpp">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\src\generic\numdlgg.cpp">\r
                        </File>\r
-                       <File\r
-                               RelativePath="..\..\src\generic\panelg.cpp">\r
-                       </File>\r
                        <File\r
                                RelativePath="..\..\src\generic\printps.cpp">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\src\generic\printps.cpp">\r
                        </File>\r
                                RelativePath="..\..\include\wx\msw\cursor.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\msw\cursor.h">\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\msw\custombgwin.h">
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\msw\ole\dataform.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\msw\ole\dataform.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\generic\ctrlsub.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\generic\ctrlsub.h">\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\generic\custombgwin.h">
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\generic\dataview.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\generic\dataview.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\univ\control.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\univ\control.h">\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\univ\custombgwin.h">
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\univ\dialog.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\univ\dialog.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\cursor.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\cursor.h">\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\custombgwin.h">
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\dataobj.h">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\include\wx\dataobj.h">\r
                        </File>\r
                        <File\r
index 9717ff19b8b28007ee5ed8076a8d950a172e85fe..8dd8c705af4527b918854cf4da7800575402ce5d 100644 (file)
                                RelativePath="..\..\src\generic\numdlgg.cpp"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\src\generic\numdlgg.cpp"\r
                                >\r
                        </File>\r
-                       <File\r
-                               RelativePath="..\..\src\generic\panelg.cpp"\r
-                               >\r
-                       </File>\r
                        <File\r
                                RelativePath="..\..\src\generic\printps.cpp"\r
                                >\r
                        <File\r
                                RelativePath="..\..\src\generic\printps.cpp"\r
                                >\r
                                >\r
                        </File>\r
                        <File\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\msw\custombgwin.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\msw\ole\dataform.h"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\include\wx\msw\ole\dataform.h"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\generic\custombgwin.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\generic\dataview.h"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\include\wx\generic\dataview.h"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\univ\custombgwin.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\univ\dialog.h"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\include\wx\univ\dialog.h"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\custombgwin.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\dataobj.h"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\include\wx\dataobj.h"\r
                                >\r
                        </File>\r
index 431dd60e8fdaab9699b002f8dfe8a4c278908654..4a088b8b7bad409d0f4c52758e7f5f7f5a1e2ec0 100644 (file)
                                RelativePath="..\..\src\generic\numdlgg.cpp"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\src\generic\numdlgg.cpp"\r
                                >\r
                        </File>\r
-                       <File\r
-                               RelativePath="..\..\src\generic\panelg.cpp"\r
-                               >\r
-                       </File>\r
                        <File\r
                                RelativePath="..\..\src\generic\printps.cpp"\r
                                >\r
                        <File\r
                                RelativePath="..\..\src\generic\printps.cpp"\r
                                >\r
                                >\r
                        </File>\r
                        <File\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\msw\custombgwin.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\msw\ole\dataform.h"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\include\wx\msw\ole\dataform.h"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\generic\custombgwin.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\generic\dataview.h"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\include\wx\generic\dataview.h"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\univ\custombgwin.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\univ\dialog.h"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\include\wx\univ\dialog.h"\r
                                >\r
                        </File>\r
                                >\r
                        </File>\r
                        <File\r
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\include\wx\custombgwin.h"
+                               >
+                       </File>
+                       <File
                                RelativePath="..\..\include\wx\dataobj.h"\r
                                >\r
                        </File>\r
                                RelativePath="..\..\include\wx\dataobj.h"\r
                                >\r
                        </File>\r
index ac558b2a499748183419de69305e50392374873d..070a777433e71613653ac238958e46de055c3af0 100644 (file)
@@ -444,6 +444,11 @@ Major new features in this release
 2.9.3:
 ------
 
 2.9.3:
 ------
 
+INCOMPATIBLE CHANGES SINCE 2.9.2
+
+- wxPanel::SetBackgroundBitmap() was removed, derive your class from
+  wxCustomBackgroundWindow and use its method with the same name instead.
+
 All:
 
 - Fix parsing of negated long options in wxCmdLineParser (roed_bis).
 All:
 
 - Fix parsing of negated long options in wxCmdLineParser (roed_bis).
index c1a0dfacc7a1acf3a0dc2829590b95442f9fd92e..ad5b0dedf496ead9b1903570404fe67ed5ab09d6 100644 (file)
@@ -255,7 +255,7 @@ The following are a variety of classes that are derived from wxWindow.
     arrangement
 @li wxWizardPage: A base class for the page in wizard dialog.
 @li wxWizardPageSimple: A page in wizard dialog.
     arrangement
 @li wxWizardPage: A base class for the page in wizard dialog.
 @li wxWizardPageSimple: A page in wizard dialog.
-
+@li wxCustomBackgroundWindow: A window allowing to set a custom bitmap.
 
 
 @section page_class_cat_aui Window Docking (wxAUI)
 
 
 @section page_class_cat_aui Window Docking (wxAUI)
diff --git a/include/wx/custombgwin.h b/include/wx/custombgwin.h
new file mode 100644 (file)
index 0000000..b5684d1
--- /dev/null
@@ -0,0 +1,50 @@
+///////////////////////////////////////////////////////////////////////////////
+// Name:        wx/custombgwin.h
+// Purpose:     Class adding support for custom window backgrounds.
+// Author:      Vadim Zeitlin
+// Created:     2011-10-10
+// 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_CUSTOMBGWIN_H_
+#define _WX_CUSTOMBGWIN_H_
+
+// ----------------------------------------------------------------------------
+// wxCustomBackgroundWindow: Adds support for custom backgrounds to any
+//                           wxWindow-derived class.
+// ----------------------------------------------------------------------------
+
+class wxCustomBackgroundWindowBase
+{
+public:
+    // Trivial default ctor.
+    wxCustomBackgroundWindowBase() { }
+
+    // Use the given bitmap to tile the background of this window. This bitmap
+    // will show through any transparent children.
+    //
+    // Notice that you must not prevent the base class EVT_ERASE_BACKGROUND
+    // handler from running (i.e. not to handle this event yourself) for this
+    // to work.
+    void SetBackgroundBitmap(const wxBitmap& bmp)
+    {
+        DoSetBackgroundBitmap(bmp);
+    }
+
+protected:
+    virtual void DoSetBackgroundBitmap(const wxBitmap& bmp) = 0;
+
+    wxDECLARE_NO_COPY_CLASS(wxCustomBackgroundWindowBase);
+};
+
+#if defined(__WXUNIVERSAL__)
+    #include "wx/univ/custombgwin.h"
+#elif defined(__WXMSW__)
+    #include "wx/msw/custombgwin.h"
+#else
+    #include "wx/generic/custombgwin.h"
+#endif
+
+#endif // _WX_CUSTOMBGWIN_H_
diff --git a/include/wx/generic/custombgwin.h b/include/wx/generic/custombgwin.h
new file mode 100644 (file)
index 0000000..bff6e65
--- /dev/null
@@ -0,0 +1,96 @@
+///////////////////////////////////////////////////////////////////////////////
+// Name:        wx/generic/custombgwin.h
+// Purpose:     Generic implementation of wxCustomBackgroundWindow.
+// Author:      Vadim Zeitlin
+// Created:     2011-10-10
+// 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_GENERIC_CUSTOMBGWIN_H_
+#define _WX_GENERIC_CUSTOMBGWIN_H_
+
+#include "wx/bitmap.h"
+
+// A helper to avoid template bloat: this class contains all type-independent
+// code of wxCustomBackgroundWindow<> below.
+class wxCustomBackgroundWindowGenericBase : public wxCustomBackgroundWindowBase
+{
+public:
+    wxCustomBackgroundWindowGenericBase() { }
+
+protected:
+    void DoEraseBackground(wxEraseEvent& event, wxWindow* win)
+    {
+        wxDC& dc = *event.GetDC();
+
+        const wxSize clientSize = win->GetClientSize();
+        const wxSize bitmapSize = m_bitmapBg.GetSize();
+
+        for ( int x = 0; x < clientSize.x; x += bitmapSize.x )
+        {
+            for ( int y = 0; y < clientSize.y; y += bitmapSize.y )
+            {
+                dc.DrawBitmap(m_bitmapBg, x, y);
+            }
+        }
+    }
+
+
+    // The bitmap used for painting the background if valid.
+    wxBitmap m_bitmapBg;
+
+
+    wxDECLARE_NO_COPY_CLASS(wxCustomBackgroundWindowGenericBase);
+};
+
+// ----------------------------------------------------------------------------
+// wxCustomBackgroundWindow
+// ----------------------------------------------------------------------------
+
+template <class W>
+class wxCustomBackgroundWindow : public W,
+                                 public wxCustomBackgroundWindowGenericBase
+{
+public:
+    typedef W BaseWindowClass;
+
+    wxCustomBackgroundWindow() { }
+
+protected:
+    virtual void DoSetBackgroundBitmap(const wxBitmap& bmp)
+    {
+        m_bitmapBg = bmp;
+
+        if ( m_bitmapBg.IsOk() )
+        {
+            BaseWindowClass::Connect
+            (
+                wxEVT_ERASE_BACKGROUND,
+                wxEraseEventHandler(wxCustomBackgroundWindow::OnEraseBackground)
+            );
+        }
+        else
+        {
+            BaseWindowClass::Disconnect
+            (
+                wxEVT_ERASE_BACKGROUND,
+                wxEraseEventHandler(wxCustomBackgroundWindow::OnEraseBackground)
+            );
+        }
+    }
+
+private:
+    // Event handler for erasing the background which is only used when we have
+    // a valid background bitmap.
+    void OnEraseBackground(wxEraseEvent& event)
+    {
+        DoEraseBackground(event, this);
+    }
+
+
+    wxDECLARE_NO_COPY_TEMPLATE_CLASS(wxCustomBackgroundWindow, W);
+};
+
+#endif // _WX_GENERIC_CUSTOMBGWIN_H_
index 9b87ee1a399118a00f043df78805e3c583470a30..a23d64786e67ed7101184dd26d0db81479e1ba72 100644 (file)
@@ -42,18 +42,7 @@ public:
     )
 #endif // WXWIN_COMPATIBILITY_2_8
 
     )
 #endif // WXWIN_COMPATIBILITY_2_8
 
-protected:
-    virtual void DoSetBackgroundBitmap(const wxBitmap& bmp);
-
 private:
 private:
-    // Event handler for erasing the background which is only used when we have
-    // a valid background bitmap.
-    void OnEraseBackground(wxEraseEvent& event);
-
-
-    // The bitmap used for painting the background if valid.
-    wxBitmap m_bitmapBg;
-
     wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
 };
 
     wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
 };
 
diff --git a/include/wx/msw/custombgwin.h b/include/wx/msw/custombgwin.h
new file mode 100644 (file)
index 0000000..13c9da6
--- /dev/null
@@ -0,0 +1,58 @@
+///////////////////////////////////////////////////////////////////////////////
+// Name:        wx/msw/custombgwin.h
+// Purpose:     wxMSW implementation of wxCustomBackgroundWindow
+// Author:      Vadim Zeitlin
+// Created:     2011-10-10
+// 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_CUSTOMBGWIN_H_
+#define _WX_MSW_CUSTOMBGWIN_H_
+
+#include "wx/bitmap.h"
+#include "wx/brush.h"
+
+// ----------------------------------------------------------------------------
+// wxCustomBackgroundWindow
+// ----------------------------------------------------------------------------
+
+template <class W>
+class wxCustomBackgroundWindow : public W,
+                                 public wxCustomBackgroundWindowBase
+{
+public:
+    typedef W BaseWindowClass;
+
+    wxCustomBackgroundWindow() { m_backgroundBrush = NULL; }
+
+    virtual ~wxCustomBackgroundWindow() { delete m_backgroundBrush; }
+
+protected:
+    virtual void DoSetBackgroundBitmap(const wxBitmap& bmp)
+    {
+        delete m_backgroundBrush;
+        m_backgroundBrush = bmp.IsOk() ? new wxBrush(bmp) : NULL;
+
+        // Our transparent children should use our background if we have it,
+        // otherwise try to restore m_inheritBgCol to some reasonable value: true
+        // if we also have non-default background colour or false otherwise.
+        BaseWindowClass::m_inheritBgCol = bmp.IsOk()
+                                            || BaseWindowClass::UseBgCol();
+    }
+
+    virtual WXHBRUSH MSWGetCustomBgBrush()
+    {
+        if ( m_backgroundBrush )
+            return (WXHBRUSH)m_backgroundBrush->GetResourceHandle();
+
+        return BaseWindowClass::MSWGetCustomBgBrush();
+    }
+
+    wxBrush *m_backgroundBrush;
+
+    wxDECLARE_NO_COPY_TEMPLATE_CLASS(wxCustomBackgroundWindow, W);
+};
+
+#endif // _WX_MSW_CUSTOMBGWIN_H_
index 4761192d66dd594f60a01a669a2cd920c69682e2..690f54438e9d938a220cbb52217fcd83f7fc987c 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxBrush;
 class WXDLLIMPEXP_CORE wxPanel : public wxPanelBase
 {
 public:
 class WXDLLIMPEXP_CORE wxPanel : public wxPanelBase
 {
 public:
-    wxPanel() { Init(); }
+    wxPanel() { }
 
     wxPanel(wxWindow *parent,
             wxWindowID winid = wxID_ANY,
 
     wxPanel(wxWindow *parent,
             wxWindowID winid = wxID_ANY,
@@ -29,13 +29,9 @@ public:
             long style = wxTAB_TRAVERSAL | wxNO_BORDER,
             const wxString& name = wxPanelNameStr)
     {
             long style = wxTAB_TRAVERSAL | wxNO_BORDER,
             const wxString& name = wxPanelNameStr)
     {
-        Init();
-
         Create(parent, winid, pos, size, style, name);
     }
 
         Create(parent, winid, pos, size, style, name);
     }
 
-    virtual ~wxPanel();
-
     // This is overridden for MSW to return true for all panels that are child
     // of a window with themed background (such as wxNotebook) which should
     // show through the child panels.
     // This is overridden for MSW to return true for all panels that are child
     // of a window with themed background (such as wxNotebook) which should
     // show through the child panels.
@@ -54,18 +50,7 @@ public:
     )
 #endif // WXWIN_COMPATIBILITY_2_8
 
     )
 #endif // WXWIN_COMPATIBILITY_2_8
 
-protected:
-    void Init()
-    {
-        m_backgroundBrush = NULL;
-    }
-
-    virtual void DoSetBackgroundBitmap(const wxBitmap& bmp);
-    virtual WXHBRUSH MSWGetCustomBgBrush();
-
 private:
 private:
-    wxBrush *m_backgroundBrush;
-
     wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
 };
 
     wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
 };
 
index bb93a5771ba5fe28a498d308a02ed0b122615dad..8f22d180fe26698eadc4328c09d1032fd7bd70b2 100644 (file)
@@ -52,26 +52,11 @@ public:
                 const wxString& name = wxPanelNameStr);
 
 
                 const wxString& name = wxPanelNameStr);
 
 
-    // Use the given bitmap to tile the background of this panel. This bitmap
-    // will show through any transparent children.
-    //
-    // Notice that you must not prevent the base class EVT_ERASE_BACKGROUND
-    // handler from running (i.e. not to handle this event yourself) for this
-    // to work.
-    void SetBackgroundBitmap(const wxBitmap& bmp)
-    {
-        DoSetBackgroundBitmap(bmp);
-    }
-
-
     // implementation from now on
     // --------------------------
 
     virtual void InitDialog();
 
     // implementation from now on
     // --------------------------
 
     virtual void InitDialog();
 
-protected:
-    virtual void DoSetBackgroundBitmap(const wxBitmap& bmp) = 0;
-
 private:
     wxDECLARE_NO_COPY_CLASS(wxPanelBase);
 };
 private:
     wxDECLARE_NO_COPY_CLASS(wxPanelBase);
 };
diff --git a/include/wx/univ/custombgwin.h b/include/wx/univ/custombgwin.h
new file mode 100644 (file)
index 0000000..f3e2ca3
--- /dev/null
@@ -0,0 +1,37 @@
+///////////////////////////////////////////////////////////////////////////////
+// Name:        wx/univ/custombgwin.h
+// Purpose:     wxUniv implementation of wxCustomBackgroundWindow.
+// Author:      Vadim Zeitlin
+// Created:     2011-10-10
+// 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_UNIV_CUSTOMBGWIN_H_
+#define _WX_UNIV_CUSTOMBGWIN_H_
+
+// ----------------------------------------------------------------------------
+// wxCustomBackgroundWindow
+// ----------------------------------------------------------------------------
+
+template <class W>
+class wxCustomBackgroundWindow : public W,
+                                 public wxCustomBackgroundWindowBase
+{
+public:
+    typedef W BaseWindowClass;
+
+    wxCustomBackgroundWindow() { }
+
+protected:
+    virtual void DoSetBackgroundBitmap(const wxBitmap& bmp)
+    {
+        // We have support for background bitmap even at the base class level.
+        BaseWindowClass::SetBackground(bmp, wxALIGN_NOT, wxTILE);
+    }
+
+    wxDECLARE_NO_COPY_TEMPLATE_CLASS(wxCustomBackgroundWindow, W);
+};
+
+#endif // _WX_UNIV_CUSTOMBGWIN_H_
index f6bd7c213769ddafbaddc80075a53e17fd85484f..19f0d52dc051ee0989222aef828cf7acc62df92c 100644 (file)
@@ -44,13 +44,6 @@ public:
     )
 #endif // WXWIN_COMPATIBILITY_2_8
 
     )
 #endif // WXWIN_COMPATIBILITY_2_8
 
-protected:
-    virtual void DoSetBackgroundBitmap(const wxBitmap& bmp)
-    {
-        // We have support for background bitmap even at the base class level.
-        SetBackground(bmp, wxALIGN_NOT, wxTILE);
-    }
-
 private:
     wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
 };
 private:
     wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
 };
diff --git a/interface/wx/custombgwin.h b/interface/wx/custombgwin.h
new file mode 100644 (file)
index 0000000..faab09b
--- /dev/null
@@ -0,0 +1,67 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/custombgwin.h
+// Purpose:     Documentation of wxCustomBackgroundWindow.
+// Author:      Vadim Zeitlin
+// Created:     2011-10-10
+// RCS-ID:      $Id$
+// Copyright:   (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
+// Licence:     wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+/**
+    A helper class making it possible to use custom background for any window.
+
+    wxWindow itself only provides SetBackgroundColour() method taking a (solid)
+    wxColour. This class extends it by allowing to use custom bitmap
+    backgrounds with any window, provided that you inherit from it. Notice that
+    the usual rule of not interfering with event handling or painting of native
+    controls still applies, so you shouldn't try to use custom backgrounds with
+    classes such as wxButton (even if this might work on some platforms, it's
+    not guaranteed to work in general). But you can use this class in
+    conjunction with wxWindow, wxPanel, wxFrame and other similar classes, e.g.
+    the erase sample shows how to use it with wxScrolledWindow:
+
+    @code
+        #include "wx/custombgwin.h"
+
+        class MyCanvas : public wxCustomBackgroundWindow<wxScrolledWindow>
+        {
+        public:
+            MyCanvas(wxWindow* parent)
+            {
+                // Notice that we must explicitly call base class Create()
+                // instead of using its ctor as wxCustomBackgroundWindow
+                // doesn't define any non-default ctors.
+                Create(parent, wxID_ANY);
+
+                ...
+
+                SetBackgroundBitmap(bitmap);
+            }
+        };
+    @endcode
+
+    @category{miscwnd}
+
+    @since 2.9.3
+ */
+template <class W>
+class wxCustomBackgroundWindow : public W
+{
+public:
+    /// Trivial default constructor.
+    wxCustomBackgroundWindow();
+
+    /**
+        Set the background bitmap for this window.
+
+        If @a bmp is a valid bitmap, this bitmap will be tiled over the panel
+        background and show through any of its transparent children. Passing an
+        invalid bitmap reverts to the default background appearance.
+
+        Notice that you must not prevent the base class EVT_ERASE_BACKGROUND
+        handler from running (i.e. not to handle this event yourself) for this
+        to work.
+    */
+    void SetBackgroundBitmap(const wxBitmap& bmp);
+};
index cc65780d6624fd0cfd62a5bb4d0cdbd82ec30ad4..b1e83bd2233526e359db28b36886bc6b7f4f2d5b 100644 (file)
@@ -124,21 +124,6 @@ public:
     */
     void OnSysColourChanged(wxSysColourChangedEvent& event);
 
     */
     void OnSysColourChanged(wxSysColourChangedEvent& event);
 
-    /**
-        Set the background bitmap for this panel.
-
-        If @a bmp is a valid bitmap, this bitmap will be tiled over the panel
-        background and show through any of its transparent children. Passing an
-        invalid bitmap reverts to the default background appearance.
-
-        Notice that you must not prevent the base class EVT_ERASE_BACKGROUND
-        handler from running (i.e. not to handle this event yourself) for this
-        to work.
-
-        @since 2.9.2
-    */
-    void SetBackgroundBitmap(const wxBitmap& bmp);
-
     /**
         Overrides wxWindow::SetFocus().
 
     /**
         Overrides wxWindow::SetFocus().
 
index 138b3fa2bc328cd8dfa58259d61763aa20ee35a1..bb452f239aa9fc97ca00b195472f2c9455f0a942 100644 (file)
@@ -30,6 +30,7 @@
     #include "wx/wx.h"
 #endif
 
     #include "wx/wx.h"
 #endif
 
+#include "wx/custombgwin.h"
 #include "wx/dcbuffer.h"
 
 // ----------------------------------------------------------------------------
 #include "wx/dcbuffer.h"
 
 // ----------------------------------------------------------------------------
@@ -52,7 +53,7 @@ public:
 };
 
 
 };
 
 
-class MyCanvas : public wxScrolledWindow
+class MyCanvas : public wxCustomBackgroundWindow<wxScrolledWindow>
 {
 public:
     MyCanvas(wxFrame *parent);
 {
 public:
     MyCanvas(wxFrame *parent);
@@ -310,8 +311,9 @@ BEGIN_EVENT_TABLE(MyCanvas, wxScrolledWindow)
 END_EVENT_TABLE()
 
 MyCanvas::MyCanvas(wxFrame *parent)
 END_EVENT_TABLE()
 
 MyCanvas::MyCanvas(wxFrame *parent)
-        : wxScrolledWindow(parent, wxID_ANY)
 {
 {
+    Create(parent, wxID_ANY);
+
     m_useBuffer = false;
     m_useBgBmp = false;
     m_eraseBgInPaint = false;
     m_useBuffer = false;
     m_useBgBmp = false;
     m_eraseBgInPaint = false;
diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp
deleted file mode 100644 (file)
index d539393..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-// Name:        src/generic/panelg.cpp
-// Purpose:     Generic wxPanel implementation.
-// Author:      Vadim Zeitlin
-// Created:     2011-03-20
-// RCS-ID:      $Id: wxhead.cpp,v 1.11 2010-04-22 12:44:51 zeitlin Exp $
-// 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
-    #include "wx/dc.h"
-    #include "wx/panel.h"
-#endif // WX_PRECOMP
-
-#ifdef wxHAS_GENERIC_PANEL
-
-// ============================================================================
-// implementation
-// ============================================================================
-
-void wxPanel::DoSetBackgroundBitmap(const wxBitmap& bmp)
-{
-    m_bitmapBg = bmp;
-
-    if ( m_bitmapBg.IsOk() )
-    {
-        Connect(wxEVT_ERASE_BACKGROUND,
-                wxEraseEventHandler(wxPanel::OnEraseBackground));
-    }
-    else
-    {
-        Disconnect(wxEVT_ERASE_BACKGROUND,
-                   wxEraseEventHandler(wxPanel::OnEraseBackground));
-    }
-}
-
-void wxPanel::OnEraseBackground(wxEraseEvent& event)
-{
-    wxDC& dc = *event.GetDC();
-
-    const wxSize clientSize = GetClientSize();
-    const wxSize bitmapSize = m_bitmapBg.GetSize();
-
-    for ( int x = 0; x < clientSize.x; x += bitmapSize.x )
-    {
-        for ( int y = 0; y < clientSize.y; y += bitmapSize.y )
-        {
-            dc.DrawBitmap(m_bitmapBg, x, y);
-        }
-    }
-}
-
-#endif // wxHAS_GENERIC_PANEL
index c502caf9f5655145b01dddde65365ce11ed00b91..9d30beb7a0b46fb243c1a5ad09851301b48fd65a 100644 (file)
@@ -24,8 +24,6 @@
 #endif
 
 #ifndef WX_PRECOMP
 #endif
 
 #ifndef WX_PRECOMP
-    #include "wx/bitmap.h"
-    #include "wx/brush.h"
     #include "wx/panel.h"
 #endif // WX_PRECOMP
 
     #include "wx/panel.h"
 #endif // WX_PRECOMP
 
 // implementation
 // ============================================================================
 
 // implementation
 // ============================================================================
 
-wxPanel::~wxPanel()
-{
-    delete m_backgroundBrush;
-}
-
 bool wxPanel::HasTransparentBackground()
 {
     for ( wxWindow *win = GetParent(); win; win = win->GetParent() )
 bool wxPanel::HasTransparentBackground()
 {
     for ( wxWindow *win = GetParent(); win; win = win->GetParent() )
@@ -52,21 +45,3 @@ bool wxPanel::HasTransparentBackground()
     return false;
 }
 
     return false;
 }
 
-void wxPanel::DoSetBackgroundBitmap(const wxBitmap& bmp)
-{
-    delete m_backgroundBrush;
-    m_backgroundBrush = bmp.IsOk() ? new wxBrush(bmp) : NULL;
-
-    // Our transparent children should use our background if we have it,
-    // otherwise try to restore m_inheritBgCol to some reasonable value: true
-    // if we also have non-default background colour or false otherwise.
-    m_inheritBgCol = bmp.IsOk() || UseBgCol();
-}
-
-WXHBRUSH wxPanel::MSWGetCustomBgBrush()
-{
-    if ( m_backgroundBrush )
-        return (WXHBRUSH)m_backgroundBrush->GetResourceHandle();
-
-    return wxPanelBase::MSWGetCustomBgBrush();
-}