Add wxCollapsibleHeaderCtrl widget.
This simple class has a collapsed state which is indicated by a small button and a label. It is now used in the generic implementation of wxCollapsiblePane. It could be used in more complex layouts than wxCollapsiblePane and is therefore available and documented to the user.
This commit is contained in:
parent
ef5ff89008
commit
df24d925df
163
Makefile.in
163
Makefile.in
@ -3292,6 +3292,7 @@ COND_TOOLKIT_MSW_GUI_HDR = \
|
||||
wx/msw/toplevel.h \
|
||||
wx/msw/treectrl.h \
|
||||
wx/msw/window.h \
|
||||
wx/generic/collheaderctrl.h \
|
||||
wx/msw/checklst.h \
|
||||
wx/msw/fdrepdlg.h \
|
||||
wx/msw/fontdlg.h \
|
||||
@ -3737,6 +3738,7 @@ COND_TOOLKIT_WINCE_GUI_HDR = \
|
||||
wx/msw/toplevel.h \
|
||||
wx/msw/treectrl.h \
|
||||
wx/msw/window.h \
|
||||
wx/generic/collheaderctrl.h \
|
||||
wx/generic/fdrepdlg.h \
|
||||
wx/generic/filedlgg.h \
|
||||
wx/generic/fontdlgg.h \
|
||||
@ -4279,6 +4281,7 @@ COND_USE_GUI_1_ALL_GUI_HEADERS = \
|
||||
wx/xpmhand.h \
|
||||
wx/xrc/xmlreshandler.h \
|
||||
wx/systhemectrl.h \
|
||||
wx/collheaderctrl.h \
|
||||
$(LOWLEVEL_HDR) \
|
||||
$(GUI_CORE_HEADERS) \
|
||||
$(ADVANCED_HDR) \
|
||||
@ -4952,6 +4955,7 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS = \
|
||||
monodll_univ_toolbar.o \
|
||||
monodll_topluniv.o \
|
||||
monodll_winuniv.o \
|
||||
monodll_collheaderctrlg.o \
|
||||
monodll_gtk.o \
|
||||
monodll_metal.o \
|
||||
monodll_mono.o \
|
||||
@ -5620,7 +5624,8 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS = \
|
||||
monodll_paletteg.o \
|
||||
monodll_regiong.o \
|
||||
monodll_generic_statusbr.o \
|
||||
monodll_generic_textmeasure.o
|
||||
monodll_generic_textmeasure.o \
|
||||
monodll_collheaderctrlg.o
|
||||
@COND_TOOLKIT_COCOA@__GUI_SRC_OBJECTS = $(COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS)
|
||||
COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS = \
|
||||
monodll_generic_accel.o \
|
||||
@ -5666,7 +5671,8 @@ COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS = \
|
||||
monodll_gtk1_stattext.o \
|
||||
monodll_gtk1_toolbar.o \
|
||||
monodll_gtk1_textctrl.o \
|
||||
monodll_gtk1_tglbtn.o
|
||||
monodll_gtk1_tglbtn.o \
|
||||
monodll_collheaderctrlg.o
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@__GUI_SRC_OBJECTS = $(COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS)
|
||||
COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___GUI_SRC_OBJECTS = \
|
||||
monodll_generic_accel.o \
|
||||
@ -5844,7 +5850,8 @@ COND_TOOLKIT_MOTIF___GUI_SRC_OBJECTS = \
|
||||
monodll_prntdlgg.o \
|
||||
monodll_generic_statline.o \
|
||||
monodll_generic_statusbr.o \
|
||||
monodll_tabg.o
|
||||
monodll_tabg.o \
|
||||
monodll_collheaderctrlg.o
|
||||
@COND_TOOLKIT_MOTIF@__GUI_SRC_OBJECTS = $(COND_TOOLKIT_MOTIF___GUI_SRC_OBJECTS)
|
||||
COND_TOOLKIT_MSW___GUI_SRC_OBJECTS = \
|
||||
monodll_clrpickerg.o \
|
||||
@ -5907,6 +5914,7 @@ COND_TOOLKIT_MSW___GUI_SRC_OBJECTS = \
|
||||
monodll_msw_tglbtn.o \
|
||||
monodll_treectrl.o \
|
||||
monodll_systhemectrl.o \
|
||||
monodll_collheaderctrlg.o \
|
||||
monodll_msw_checklst.o \
|
||||
monodll_msw_fdrepdlg.o \
|
||||
monodll_msw_fontdlg.o
|
||||
@ -6068,6 +6076,7 @@ COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS = \
|
||||
monodll_msw_tglbtn.o \
|
||||
monodll_treectrl.o \
|
||||
monodll_systhemectrl.o \
|
||||
monodll_collheaderctrlg.o \
|
||||
monodll_dirdlgg.o \
|
||||
monodll_generic_fdrepdlg.o \
|
||||
monodll_filedlgg.o \
|
||||
@ -7326,6 +7335,7 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS_1 = \
|
||||
monolib_univ_toolbar.o \
|
||||
monolib_topluniv.o \
|
||||
monolib_winuniv.o \
|
||||
monolib_collheaderctrlg.o \
|
||||
monolib_gtk.o \
|
||||
monolib_metal.o \
|
||||
monolib_mono.o \
|
||||
@ -7994,7 +8004,8 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_1 = \
|
||||
monolib_paletteg.o \
|
||||
monolib_regiong.o \
|
||||
monolib_generic_statusbr.o \
|
||||
monolib_generic_textmeasure.o
|
||||
monolib_generic_textmeasure.o \
|
||||
monolib_collheaderctrlg.o
|
||||
@COND_TOOLKIT_COCOA@__GUI_SRC_OBJECTS_1 = $(COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_1)
|
||||
COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS_1 = \
|
||||
monolib_generic_accel.o \
|
||||
@ -8040,7 +8051,8 @@ COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS_1 = \
|
||||
monolib_gtk1_stattext.o \
|
||||
monolib_gtk1_toolbar.o \
|
||||
monolib_gtk1_textctrl.o \
|
||||
monolib_gtk1_tglbtn.o
|
||||
monolib_gtk1_tglbtn.o \
|
||||
monolib_collheaderctrlg.o
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@__GUI_SRC_OBJECTS_1 = $(COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS_1)
|
||||
COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___GUI_SRC_OBJECTS_1 = \
|
||||
monolib_generic_accel.o \
|
||||
@ -8218,7 +8230,8 @@ COND_TOOLKIT_MOTIF___GUI_SRC_OBJECTS_1 = \
|
||||
monolib_prntdlgg.o \
|
||||
monolib_generic_statline.o \
|
||||
monolib_generic_statusbr.o \
|
||||
monolib_tabg.o
|
||||
monolib_tabg.o \
|
||||
monolib_collheaderctrlg.o
|
||||
@COND_TOOLKIT_MOTIF@__GUI_SRC_OBJECTS_1 = $(COND_TOOLKIT_MOTIF___GUI_SRC_OBJECTS_1)
|
||||
COND_TOOLKIT_MSW___GUI_SRC_OBJECTS_1 = \
|
||||
monolib_clrpickerg.o \
|
||||
@ -8281,6 +8294,7 @@ COND_TOOLKIT_MSW___GUI_SRC_OBJECTS_1 = \
|
||||
monolib_msw_tglbtn.o \
|
||||
monolib_treectrl.o \
|
||||
monolib_systhemectrl.o \
|
||||
monolib_collheaderctrlg.o \
|
||||
monolib_msw_checklst.o \
|
||||
monolib_msw_fdrepdlg.o \
|
||||
monolib_msw_fontdlg.o
|
||||
@ -8442,6 +8456,7 @@ COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_1 = \
|
||||
monolib_msw_tglbtn.o \
|
||||
monolib_treectrl.o \
|
||||
monolib_systhemectrl.o \
|
||||
monolib_collheaderctrlg.o \
|
||||
monolib_dirdlgg.o \
|
||||
monolib_generic_fdrepdlg.o \
|
||||
monolib_filedlgg.o \
|
||||
@ -9852,6 +9867,7 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS_2 = \
|
||||
coredll_univ_toolbar.o \
|
||||
coredll_topluniv.o \
|
||||
coredll_winuniv.o \
|
||||
coredll_collheaderctrlg.o \
|
||||
coredll_gtk.o \
|
||||
coredll_metal.o \
|
||||
coredll_mono.o \
|
||||
@ -10520,7 +10536,8 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_2 = \
|
||||
coredll_paletteg.o \
|
||||
coredll_regiong.o \
|
||||
coredll_generic_statusbr.o \
|
||||
coredll_generic_textmeasure.o
|
||||
coredll_generic_textmeasure.o \
|
||||
coredll_collheaderctrlg.o
|
||||
@COND_TOOLKIT_COCOA@__GUI_SRC_OBJECTS_2 = $(COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_2)
|
||||
COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS_2 = \
|
||||
coredll_generic_accel.o \
|
||||
@ -10566,7 +10583,8 @@ COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS_2 = \
|
||||
coredll_gtk1_stattext.o \
|
||||
coredll_gtk1_toolbar.o \
|
||||
coredll_gtk1_textctrl.o \
|
||||
coredll_gtk1_tglbtn.o
|
||||
coredll_gtk1_tglbtn.o \
|
||||
coredll_collheaderctrlg.o
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@__GUI_SRC_OBJECTS_2 = $(COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS_2)
|
||||
COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___GUI_SRC_OBJECTS_2 = \
|
||||
coredll_generic_accel.o \
|
||||
@ -10744,7 +10762,8 @@ COND_TOOLKIT_MOTIF___GUI_SRC_OBJECTS_2 = \
|
||||
coredll_prntdlgg.o \
|
||||
coredll_generic_statline.o \
|
||||
coredll_generic_statusbr.o \
|
||||
coredll_tabg.o
|
||||
coredll_tabg.o \
|
||||
coredll_collheaderctrlg.o
|
||||
@COND_TOOLKIT_MOTIF@__GUI_SRC_OBJECTS_2 = $(COND_TOOLKIT_MOTIF___GUI_SRC_OBJECTS_2)
|
||||
COND_TOOLKIT_MSW___GUI_SRC_OBJECTS_2 = \
|
||||
coredll_clrpickerg.o \
|
||||
@ -10807,6 +10826,7 @@ COND_TOOLKIT_MSW___GUI_SRC_OBJECTS_2 = \
|
||||
coredll_msw_tglbtn.o \
|
||||
coredll_treectrl.o \
|
||||
coredll_systhemectrl.o \
|
||||
coredll_collheaderctrlg.o \
|
||||
coredll_msw_checklst.o \
|
||||
coredll_msw_fdrepdlg.o \
|
||||
coredll_msw_fontdlg.o
|
||||
@ -10968,6 +10988,7 @@ COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_2 = \
|
||||
coredll_msw_tglbtn.o \
|
||||
coredll_treectrl.o \
|
||||
coredll_systhemectrl.o \
|
||||
coredll_collheaderctrlg.o \
|
||||
coredll_dirdlgg.o \
|
||||
coredll_generic_fdrepdlg.o \
|
||||
coredll_filedlgg.o \
|
||||
@ -11633,6 +11654,7 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS_3 = \
|
||||
corelib_univ_toolbar.o \
|
||||
corelib_topluniv.o \
|
||||
corelib_winuniv.o \
|
||||
corelib_collheaderctrlg.o \
|
||||
corelib_gtk.o \
|
||||
corelib_metal.o \
|
||||
corelib_mono.o \
|
||||
@ -12301,7 +12323,8 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_3 = \
|
||||
corelib_paletteg.o \
|
||||
corelib_regiong.o \
|
||||
corelib_generic_statusbr.o \
|
||||
corelib_generic_textmeasure.o
|
||||
corelib_generic_textmeasure.o \
|
||||
corelib_collheaderctrlg.o
|
||||
@COND_TOOLKIT_COCOA@__GUI_SRC_OBJECTS_3 = $(COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_3)
|
||||
COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS_3 = \
|
||||
corelib_generic_accel.o \
|
||||
@ -12347,7 +12370,8 @@ COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS_3 = \
|
||||
corelib_gtk1_stattext.o \
|
||||
corelib_gtk1_toolbar.o \
|
||||
corelib_gtk1_textctrl.o \
|
||||
corelib_gtk1_tglbtn.o
|
||||
corelib_gtk1_tglbtn.o \
|
||||
corelib_collheaderctrlg.o
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@__GUI_SRC_OBJECTS_3 = $(COND_TOOLKIT_GTK_TOOLKIT_VERSION____GUI_SRC_OBJECTS_3)
|
||||
COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___GUI_SRC_OBJECTS_3 = \
|
||||
corelib_generic_accel.o \
|
||||
@ -12525,7 +12549,8 @@ COND_TOOLKIT_MOTIF___GUI_SRC_OBJECTS_3 = \
|
||||
corelib_prntdlgg.o \
|
||||
corelib_generic_statline.o \
|
||||
corelib_generic_statusbr.o \
|
||||
corelib_tabg.o
|
||||
corelib_tabg.o \
|
||||
corelib_collheaderctrlg.o
|
||||
@COND_TOOLKIT_MOTIF@__GUI_SRC_OBJECTS_3 = $(COND_TOOLKIT_MOTIF___GUI_SRC_OBJECTS_3)
|
||||
COND_TOOLKIT_MSW___GUI_SRC_OBJECTS_3 = \
|
||||
corelib_clrpickerg.o \
|
||||
@ -12588,6 +12613,7 @@ COND_TOOLKIT_MSW___GUI_SRC_OBJECTS_3 = \
|
||||
corelib_msw_tglbtn.o \
|
||||
corelib_treectrl.o \
|
||||
corelib_systhemectrl.o \
|
||||
corelib_collheaderctrlg.o \
|
||||
corelib_msw_checklst.o \
|
||||
corelib_msw_fdrepdlg.o \
|
||||
corelib_msw_fontdlg.o
|
||||
@ -12749,6 +12775,7 @@ COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_3 = \
|
||||
corelib_msw_tglbtn.o \
|
||||
corelib_treectrl.o \
|
||||
corelib_systhemectrl.o \
|
||||
corelib_collheaderctrlg.o \
|
||||
corelib_dirdlgg.o \
|
||||
corelib_generic_fdrepdlg.o \
|
||||
corelib_filedlgg.o \
|
||||
@ -15108,6 +15135,7 @@ COND_PLATFORM_MACOSX_1___OSX_CARBON_COCOA_SRC_OBJECTS = \
|
||||
monodll_utilscocoa.o \
|
||||
monodll_generic_caret.o \
|
||||
monodll_clrpickerg.o \
|
||||
monodll_collheaderctrlg.o \
|
||||
monodll_collpaneg.o \
|
||||
monodll_colrdlgg.o \
|
||||
monodll_dirdlgg.o \
|
||||
@ -15254,6 +15282,7 @@ COND_PLATFORM_MACOSX_1___OSX_CARBON_COCOA_SRC_OBJECTS_12 = \
|
||||
monolib_utilscocoa.o \
|
||||
monolib_generic_caret.o \
|
||||
monolib_clrpickerg.o \
|
||||
monolib_collheaderctrlg.o \
|
||||
monolib_collpaneg.o \
|
||||
monolib_colrdlgg.o \
|
||||
monolib_dirdlgg.o \
|
||||
@ -15400,6 +15429,7 @@ COND_PLATFORM_MACOSX_1___OSX_CARBON_COCOA_SRC_OBJECTS_14 = \
|
||||
coredll_utilscocoa.o \
|
||||
coredll_generic_caret.o \
|
||||
coredll_clrpickerg.o \
|
||||
coredll_collheaderctrlg.o \
|
||||
coredll_collpaneg.o \
|
||||
coredll_colrdlgg.o \
|
||||
coredll_dirdlgg.o \
|
||||
@ -15531,6 +15561,7 @@ COND_PLATFORM_MACOSX_1___OSX_CARBON_COCOA_SRC_OBJECTS_1_0 = \
|
||||
corelib_utilscocoa.o \
|
||||
corelib_generic_caret.o \
|
||||
corelib_clrpickerg.o \
|
||||
corelib_collheaderctrlg.o \
|
||||
corelib_collpaneg.o \
|
||||
corelib_colrdlgg.o \
|
||||
corelib_dirdlgg.o \
|
||||
@ -21461,6 +21492,33 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@monodll_filedlgg.o: $(srcdir)/src/generic/filedlgg.cpp $(MONODLL_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/filedlgg.cpp
|
||||
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@monodll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONODLL_ODEP)
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@monodll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONODLL_ODEP)
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONODLL_ODEP)
|
||||
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monodll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONODLL_ODEP)
|
||||
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0@monodll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONODLL_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0@monodll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONODLL_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0@monodll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONODLL_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@monodll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONODLL_ODEP)
|
||||
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_USE_GUI_1_WXUNIV_1@monodll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONODLL_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@monodll_mdig.o: $(srcdir)/src/generic/mdig.cpp $(MONODLL_ODEP)
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/mdig.cpp
|
||||
|
||||
@ -27386,6 +27444,33 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@monolib_filedlgg.o: $(srcdir)/src/generic/filedlgg.cpp $(MONOLIB_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/filedlgg.cpp
|
||||
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@monolib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONOLIB_ODEP)
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@monolib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONOLIB_ODEP)
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONOLIB_ODEP)
|
||||
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monolib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONOLIB_ODEP)
|
||||
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0@monolib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONOLIB_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0@monolib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONOLIB_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0@monolib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONOLIB_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@monolib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONOLIB_ODEP)
|
||||
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_USE_GUI_1_WXUNIV_1@monolib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(MONOLIB_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@monolib_mdig.o: $(srcdir)/src/generic/mdig.cpp $(MONOLIB_ODEP)
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/mdig.cpp
|
||||
|
||||
@ -33416,6 +33501,33 @@ coredll_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(COREDLL_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@coredll_filedlgg.o: $(srcdir)/src/generic/filedlgg.cpp $(COREDLL_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/filedlgg.cpp
|
||||
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@coredll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(COREDLL_ODEP)
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@coredll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(COREDLL_ODEP)
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@coredll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(COREDLL_ODEP)
|
||||
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@coredll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(COREDLL_ODEP)
|
||||
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0@coredll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(COREDLL_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0@coredll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(COREDLL_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0@coredll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(COREDLL_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@coredll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(COREDLL_ODEP)
|
||||
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_USE_GUI_1_WXUNIV_1@coredll_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(COREDLL_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@coredll_mdig.o: $(srcdir)/src/generic/mdig.cpp $(COREDLL_ODEP)
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/mdig.cpp
|
||||
|
||||
@ -37826,6 +37938,33 @@ corelib_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(CORELIB_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@corelib_filedlgg.o: $(srcdir)/src/generic/filedlgg.cpp $(CORELIB_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/filedlgg.cpp
|
||||
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@corelib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(CORELIB_ODEP)
|
||||
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@corelib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(CORELIB_ODEP)
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@corelib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(CORELIB_ODEP)
|
||||
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@corelib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(CORELIB_ODEP)
|
||||
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0@corelib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(CORELIB_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0@corelib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(CORELIB_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0@corelib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(CORELIB_ODEP)
|
||||
@COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@corelib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(CORELIB_ODEP)
|
||||
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_USE_GUI_1_WXUNIV_1@corelib_collheaderctrlg.o: $(srcdir)/src/generic/collheaderctrlg.cpp $(CORELIB_ODEP)
|
||||
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/collheaderctrlg.cpp
|
||||
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@corelib_mdig.o: $(srcdir)/src/generic/mdig.cpp $(CORELIB_ODEP)
|
||||
@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/mdig.cpp
|
||||
|
||||
|
@ -1194,6 +1194,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
wx/xpmhand.h
|
||||
wx/xrc/xmlreshandler.h
|
||||
wx/systhemectrl.h
|
||||
wx/collheaderctrl.h
|
||||
</set>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
@ -1568,6 +1569,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
src/gtk1/toolbar.cpp
|
||||
src/gtk1/textctrl.cpp
|
||||
src/gtk1/tglbtn.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
</set>
|
||||
<set var="GTK1_HDR" hints="files">
|
||||
wx/generic/clrpickerg.h
|
||||
@ -1709,6 +1711,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
src/generic/statline.cpp
|
||||
src/generic/statusbr.cpp
|
||||
src/generic/tabg.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
</set>
|
||||
<set var="MOTIF_HDR" hints="files">
|
||||
wx/generic/clrpickerg.h
|
||||
@ -1994,6 +1997,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
src/msw/tglbtn.cpp
|
||||
src/msw/treectrl.cpp
|
||||
src/msw/systhemectrl.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
</set>
|
||||
<set var="MSW_HDR" hints="files">
|
||||
wx/generic/clrpickerg.h
|
||||
@ -2091,6 +2095,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
wx/msw/toplevel.h
|
||||
wx/msw/treectrl.h
|
||||
wx/msw/window.h
|
||||
wx/generic/collheaderctrl.h
|
||||
</set>
|
||||
<set var="MSW_RSC" hints="files">
|
||||
<!-- Resources must be installed together with headers: -->
|
||||
@ -2338,6 +2343,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
<!-- Generic implementations used by wxOSX: -->
|
||||
src/generic/caret.cpp
|
||||
src/generic/clrpickerg.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
src/generic/collpaneg.cpp
|
||||
src/generic/colrdlgg.cpp
|
||||
src/generic/dirdlgg.cpp
|
||||
@ -2696,6 +2702,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
src/generic/regiong.cpp
|
||||
src/generic/statusbr.cpp
|
||||
src/generic/textmeasure.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
</set>
|
||||
<set var="COCOA_HDR" hints="files">
|
||||
wx/cocoa/NSApplication.h
|
||||
@ -2862,6 +2869,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
src/univ/toolbar.cpp
|
||||
src/univ/topluniv.cpp
|
||||
src/univ/winuniv.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
</set>
|
||||
<set var="UNIV_HDR" hints="files">
|
||||
$(UNIV_PLATFORM_HDR)
|
||||
|
@ -668,6 +668,7 @@ GUI_CMN_HDR =
|
||||
wx/choicdlg.h
|
||||
wx/choice.h
|
||||
wx/cmndata.h
|
||||
wx/collheaderctrl.h
|
||||
wx/collpane.h
|
||||
wx/combo.h
|
||||
wx/combobox.h
|
||||
@ -1188,6 +1189,7 @@ GTK1_SRC =
|
||||
# Generic implementations used by wxGTK1:
|
||||
src/generic/accel.cpp
|
||||
src/generic/clrpickerg.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
src/generic/collpaneg.cpp
|
||||
src/generic/colrdlgg.cpp
|
||||
src/generic/dirdlgg.cpp
|
||||
@ -1352,6 +1354,7 @@ MOTIF_SRC =
|
||||
src/motif/xmcombo/xmcombo.c
|
||||
# Generic files used by wxMotif:
|
||||
src/generic/clrpickerg.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
src/generic/collpaneg.cpp
|
||||
src/generic/colrdlgg.cpp
|
||||
src/generic/dirdlgg.cpp
|
||||
@ -1579,6 +1582,7 @@ MSW_DESKTOP_LOWLEVEL_HDR =
|
||||
|
||||
MSW_SRC =
|
||||
src/generic/clrpickerg.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
src/generic/collpaneg.cpp
|
||||
src/generic/filepickerg.cpp
|
||||
src/generic/fontpickerg.cpp
|
||||
@ -1640,6 +1644,7 @@ MSW_SRC =
|
||||
src/msw/treectrl.cpp
|
||||
MSW_HDR =
|
||||
wx/generic/clrpickerg.h
|
||||
wx/generic/collheaderctrl.h
|
||||
wx/generic/collpaneg.h
|
||||
wx/generic/filepickerg.h
|
||||
wx/generic/fontpickerg.h
|
||||
@ -1965,6 +1970,7 @@ OSX_CARBON_COCOA_SRC =
|
||||
# Generic implementations used by wxOSX:
|
||||
src/generic/caret.cpp
|
||||
src/generic/clrpickerg.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
src/generic/collpaneg.cpp
|
||||
src/generic/colrdlgg.cpp
|
||||
src/generic/dirdlgg.cpp
|
||||
@ -2293,6 +2299,7 @@ COCOA_SRC =
|
||||
src/generic/accel.cpp
|
||||
src/generic/caret.cpp
|
||||
src/generic/clrpickerg.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
src/generic/collpaneg.cpp
|
||||
src/generic/colrdlgg.cpp
|
||||
src/generic/fdrepdlg.cpp
|
||||
@ -2407,6 +2414,7 @@ UNIV_SRC =
|
||||
$(UNIV_PLATFORM_SRC)
|
||||
src/generic/accel.cpp
|
||||
src/generic/clrpickerg.cpp
|
||||
src/generic/collheaderctrlg.cpp
|
||||
src/generic/collpaneg.cpp
|
||||
src/generic/colrdlgg.cpp
|
||||
src/generic/dirdlgg.cpp
|
||||
|
@ -1885,6 +1885,7 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
|
||||
$(OBJS)\monodll_msw_tglbtn.obj \
|
||||
$(OBJS)\monodll_treectrl.obj \
|
||||
$(OBJS)\monodll_systhemectrl.obj \
|
||||
$(OBJS)\monodll_collheaderctrlg.obj \
|
||||
$(OBJS)\monodll_msw_checklst.obj \
|
||||
$(OBJS)\monodll_msw_fdrepdlg.obj \
|
||||
$(OBJS)\monodll_fontdlg.obj \
|
||||
@ -2161,6 +2162,7 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
|
||||
$(OBJS)\monodll_univ_toolbar.obj \
|
||||
$(OBJS)\monodll_topluniv.obj \
|
||||
$(OBJS)\monodll_winuniv.obj \
|
||||
$(OBJS)\monodll_collheaderctrlg.obj \
|
||||
$(OBJS)\monodll_gtk.obj \
|
||||
$(OBJS)\monodll_metal.obj \
|
||||
$(OBJS)\monodll_mono.obj \
|
||||
@ -2704,6 +2706,7 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
|
||||
$(OBJS)\monolib_msw_tglbtn.obj \
|
||||
$(OBJS)\monolib_treectrl.obj \
|
||||
$(OBJS)\monolib_systhemectrl.obj \
|
||||
$(OBJS)\monolib_collheaderctrlg.obj \
|
||||
$(OBJS)\monolib_msw_checklst.obj \
|
||||
$(OBJS)\monolib_msw_fdrepdlg.obj \
|
||||
$(OBJS)\monolib_fontdlg.obj \
|
||||
@ -2980,6 +2983,7 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
|
||||
$(OBJS)\monolib_univ_toolbar.obj \
|
||||
$(OBJS)\monolib_topluniv.obj \
|
||||
$(OBJS)\monolib_winuniv.obj \
|
||||
$(OBJS)\monolib_collheaderctrlg.obj \
|
||||
$(OBJS)\monolib_gtk.obj \
|
||||
$(OBJS)\monolib_metal.obj \
|
||||
$(OBJS)\monolib_mono.obj \
|
||||
@ -3397,6 +3401,7 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
|
||||
$(OBJS)\coredll_msw_tglbtn.obj \
|
||||
$(OBJS)\coredll_treectrl.obj \
|
||||
$(OBJS)\coredll_systhemectrl.obj \
|
||||
$(OBJS)\coredll_collheaderctrlg.obj \
|
||||
$(OBJS)\coredll_msw_checklst.obj \
|
||||
$(OBJS)\coredll_msw_fdrepdlg.obj \
|
||||
$(OBJS)\coredll_fontdlg.obj \
|
||||
@ -3673,6 +3678,7 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
|
||||
$(OBJS)\coredll_univ_toolbar.obj \
|
||||
$(OBJS)\coredll_topluniv.obj \
|
||||
$(OBJS)\coredll_winuniv.obj \
|
||||
$(OBJS)\coredll_collheaderctrlg.obj \
|
||||
$(OBJS)\coredll_gtk.obj \
|
||||
$(OBJS)\coredll_metal.obj \
|
||||
$(OBJS)\coredll_mono.obj \
|
||||
@ -3963,6 +3969,7 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
|
||||
$(OBJS)\corelib_msw_tglbtn.obj \
|
||||
$(OBJS)\corelib_treectrl.obj \
|
||||
$(OBJS)\corelib_systhemectrl.obj \
|
||||
$(OBJS)\corelib_collheaderctrlg.obj \
|
||||
$(OBJS)\corelib_msw_checklst.obj \
|
||||
$(OBJS)\corelib_msw_fdrepdlg.obj \
|
||||
$(OBJS)\corelib_fontdlg.obj \
|
||||
@ -4239,6 +4246,7 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
|
||||
$(OBJS)\corelib_univ_toolbar.obj \
|
||||
$(OBJS)\corelib_topluniv.obj \
|
||||
$(OBJS)\corelib_winuniv.obj \
|
||||
$(OBJS)\corelib_collheaderctrlg.obj \
|
||||
$(OBJS)\corelib_gtk.obj \
|
||||
$(OBJS)\corelib_metal.obj \
|
||||
$(OBJS)\corelib_mono.obj \
|
||||
@ -7791,6 +7799,11 @@ $(OBJS)\monodll_evtloop.obj: ..\..\src\msw\evtloop.cpp
|
||||
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\evtloop.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\monodll_collheaderctrlg.obj: ..\..\src\generic\collheaderctrlg.cpp
|
||||
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\collheaderctrlg.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\monodll_accelcmn.obj: ..\..\src\common\accelcmn.cpp
|
||||
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\accelcmn.cpp
|
||||
@ -10293,6 +10306,11 @@ $(OBJS)\monolib_evtloop.obj: ..\..\src\msw\evtloop.cpp
|
||||
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\evtloop.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\monolib_collheaderctrlg.obj: ..\..\src\generic\collheaderctrlg.cpp
|
||||
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\collheaderctrlg.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\monolib_accelcmn.obj: ..\..\src\common\accelcmn.cpp
|
||||
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\accelcmn.cpp
|
||||
@ -12732,6 +12750,11 @@ $(OBJS)\coredll_evtloop.obj: ..\..\src\msw\evtloop.cpp
|
||||
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\msw\evtloop.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\coredll_collheaderctrlg.obj: ..\..\src\generic\collheaderctrlg.cpp
|
||||
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\collheaderctrlg.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\coredll_accelcmn.obj: ..\..\src\common\accelcmn.cpp
|
||||
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\accelcmn.cpp
|
||||
@ -14196,6 +14219,11 @@ $(OBJS)\corelib_evtloop.obj: ..\..\src\msw\evtloop.cpp
|
||||
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\msw\evtloop.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\corelib_collheaderctrlg.obj: ..\..\src\generic\collheaderctrlg.cpp
|
||||
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\collheaderctrlg.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\corelib_accelcmn.obj: ..\..\src\common\accelcmn.cpp
|
||||
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\accelcmn.cpp
|
||||
|
@ -1904,6 +1904,7 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
|
||||
$(OBJS)\monodll_msw_tglbtn.o \
|
||||
$(OBJS)\monodll_treectrl.o \
|
||||
$(OBJS)\monodll_systhemectrl.o \
|
||||
$(OBJS)\monodll_collheaderctrlg.o \
|
||||
$(OBJS)\monodll_msw_checklst.o \
|
||||
$(OBJS)\monodll_msw_fdrepdlg.o \
|
||||
$(OBJS)\monodll_fontdlg.o \
|
||||
@ -2182,6 +2183,7 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
|
||||
$(OBJS)\monodll_univ_toolbar.o \
|
||||
$(OBJS)\monodll_topluniv.o \
|
||||
$(OBJS)\monodll_winuniv.o \
|
||||
$(OBJS)\monodll_collheaderctrlg.o \
|
||||
$(OBJS)\monodll_gtk.o \
|
||||
$(OBJS)\monodll_metal.o \
|
||||
$(OBJS)\monodll_mono.o \
|
||||
@ -2729,6 +2731,7 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
|
||||
$(OBJS)\monolib_msw_tglbtn.o \
|
||||
$(OBJS)\monolib_treectrl.o \
|
||||
$(OBJS)\monolib_systhemectrl.o \
|
||||
$(OBJS)\monolib_collheaderctrlg.o \
|
||||
$(OBJS)\monolib_msw_checklst.o \
|
||||
$(OBJS)\monolib_msw_fdrepdlg.o \
|
||||
$(OBJS)\monolib_fontdlg.o \
|
||||
@ -3007,6 +3010,7 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
|
||||
$(OBJS)\monolib_univ_toolbar.o \
|
||||
$(OBJS)\monolib_topluniv.o \
|
||||
$(OBJS)\monolib_winuniv.o \
|
||||
$(OBJS)\monolib_collheaderctrlg.o \
|
||||
$(OBJS)\monolib_gtk.o \
|
||||
$(OBJS)\monolib_metal.o \
|
||||
$(OBJS)\monolib_mono.o \
|
||||
@ -3438,6 +3442,7 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
|
||||
$(OBJS)\coredll_msw_tglbtn.o \
|
||||
$(OBJS)\coredll_treectrl.o \
|
||||
$(OBJS)\coredll_systhemectrl.o \
|
||||
$(OBJS)\coredll_collheaderctrlg.o \
|
||||
$(OBJS)\coredll_msw_checklst.o \
|
||||
$(OBJS)\coredll_msw_fdrepdlg.o \
|
||||
$(OBJS)\coredll_fontdlg.o \
|
||||
@ -3716,6 +3721,7 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
|
||||
$(OBJS)\coredll_univ_toolbar.o \
|
||||
$(OBJS)\coredll_topluniv.o \
|
||||
$(OBJS)\coredll_winuniv.o \
|
||||
$(OBJS)\coredll_collheaderctrlg.o \
|
||||
$(OBJS)\coredll_gtk.o \
|
||||
$(OBJS)\coredll_metal.o \
|
||||
$(OBJS)\coredll_mono.o \
|
||||
@ -4012,6 +4018,7 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
|
||||
$(OBJS)\corelib_msw_tglbtn.o \
|
||||
$(OBJS)\corelib_treectrl.o \
|
||||
$(OBJS)\corelib_systhemectrl.o \
|
||||
$(OBJS)\corelib_collheaderctrlg.o \
|
||||
$(OBJS)\corelib_msw_checklst.o \
|
||||
$(OBJS)\corelib_msw_fdrepdlg.o \
|
||||
$(OBJS)\corelib_fontdlg.o \
|
||||
@ -4290,6 +4297,7 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
|
||||
$(OBJS)\corelib_univ_toolbar.o \
|
||||
$(OBJS)\corelib_topluniv.o \
|
||||
$(OBJS)\corelib_winuniv.o \
|
||||
$(OBJS)\corelib_collheaderctrlg.o \
|
||||
$(OBJS)\corelib_gtk.o \
|
||||
$(OBJS)\corelib_metal.o \
|
||||
$(OBJS)\corelib_mono.o \
|
||||
@ -7966,6 +7974,11 @@ $(OBJS)\monodll_evtloop.o: ../../src/msw/evtloop.cpp
|
||||
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
|
||||
endif
|
||||
|
||||
ifeq ($(USE_GUI),1)
|
||||
$(OBJS)\monodll_collheaderctrlg.o: ../../src/generic/collheaderctrlg.cpp
|
||||
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
|
||||
endif
|
||||
|
||||
ifeq ($(USE_GUI),1)
|
||||
$(OBJS)\monodll_accelcmn.o: ../../src/common/accelcmn.cpp
|
||||
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
|
||||
@ -10468,6 +10481,11 @@ $(OBJS)\monolib_evtloop.o: ../../src/msw/evtloop.cpp
|
||||
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
|
||||
endif
|
||||
|
||||
ifeq ($(USE_GUI),1)
|
||||
$(OBJS)\monolib_collheaderctrlg.o: ../../src/generic/collheaderctrlg.cpp
|
||||
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
|
||||
endif
|
||||
|
||||
ifeq ($(USE_GUI),1)
|
||||
$(OBJS)\monolib_accelcmn.o: ../../src/common/accelcmn.cpp
|
||||
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
|
||||
@ -12907,6 +12925,11 @@ $(OBJS)\coredll_evtloop.o: ../../src/msw/evtloop.cpp
|
||||
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
|
||||
endif
|
||||
|
||||
ifeq ($(USE_GUI),1)
|
||||
$(OBJS)\coredll_collheaderctrlg.o: ../../src/generic/collheaderctrlg.cpp
|
||||
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
|
||||
endif
|
||||
|
||||
ifeq ($(USE_GUI),1)
|
||||
$(OBJS)\coredll_accelcmn.o: ../../src/common/accelcmn.cpp
|
||||
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
|
||||
@ -14371,6 +14394,11 @@ $(OBJS)\corelib_evtloop.o: ../../src/msw/evtloop.cpp
|
||||
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
|
||||
endif
|
||||
|
||||
ifeq ($(USE_GUI),1)
|
||||
$(OBJS)\corelib_collheaderctrlg.o: ../../src/generic/collheaderctrlg.cpp
|
||||
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
|
||||
endif
|
||||
|
||||
ifeq ($(USE_GUI),1)
|
||||
$(OBJS)\corelib_accelcmn.o: ../../src/common/accelcmn.cpp
|
||||
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
@ -2185,6 +2185,7 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
|
||||
$(OBJS)\monodll_msw_tglbtn.obj \
|
||||
$(OBJS)\monodll_treectrl.obj \
|
||||
$(OBJS)\monodll_systhemectrl.obj \
|
||||
$(OBJS)\monodll_collheaderctrlg.obj \
|
||||
$(OBJS)\monodll_msw_checklst.obj \
|
||||
$(OBJS)\monodll_msw_fdrepdlg.obj \
|
||||
$(OBJS)\monodll_fontdlg.obj \
|
||||
@ -2461,6 +2462,7 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
|
||||
$(OBJS)\monodll_univ_toolbar.obj \
|
||||
$(OBJS)\monodll_topluniv.obj \
|
||||
$(OBJS)\monodll_winuniv.obj \
|
||||
$(OBJS)\monodll_collheaderctrlg.obj \
|
||||
$(OBJS)\monodll_gtk.obj \
|
||||
$(OBJS)\monodll_metal.obj \
|
||||
$(OBJS)\monodll_mono.obj \
|
||||
@ -3010,6 +3012,7 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
|
||||
$(OBJS)\monolib_msw_tglbtn.obj \
|
||||
$(OBJS)\monolib_treectrl.obj \
|
||||
$(OBJS)\monolib_systhemectrl.obj \
|
||||
$(OBJS)\monolib_collheaderctrlg.obj \
|
||||
$(OBJS)\monolib_msw_checklst.obj \
|
||||
$(OBJS)\monolib_msw_fdrepdlg.obj \
|
||||
$(OBJS)\monolib_fontdlg.obj \
|
||||
@ -3286,6 +3289,7 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
|
||||
$(OBJS)\monolib_univ_toolbar.obj \
|
||||
$(OBJS)\monolib_topluniv.obj \
|
||||
$(OBJS)\monolib_winuniv.obj \
|
||||
$(OBJS)\monolib_collheaderctrlg.obj \
|
||||
$(OBJS)\monolib_gtk.obj \
|
||||
$(OBJS)\monolib_metal.obj \
|
||||
$(OBJS)\monolib_mono.obj \
|
||||
@ -3769,6 +3773,7 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
|
||||
$(OBJS)\coredll_msw_tglbtn.obj \
|
||||
$(OBJS)\coredll_treectrl.obj \
|
||||
$(OBJS)\coredll_systhemectrl.obj \
|
||||
$(OBJS)\coredll_collheaderctrlg.obj \
|
||||
$(OBJS)\coredll_msw_checklst.obj \
|
||||
$(OBJS)\coredll_msw_fdrepdlg.obj \
|
||||
$(OBJS)\coredll_fontdlg.obj \
|
||||
@ -4045,6 +4050,7 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
|
||||
$(OBJS)\coredll_univ_toolbar.obj \
|
||||
$(OBJS)\coredll_topluniv.obj \
|
||||
$(OBJS)\coredll_winuniv.obj \
|
||||
$(OBJS)\coredll_collheaderctrlg.obj \
|
||||
$(OBJS)\coredll_gtk.obj \
|
||||
$(OBJS)\coredll_metal.obj \
|
||||
$(OBJS)\coredll_mono.obj \
|
||||
@ -4341,6 +4347,7 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
|
||||
$(OBJS)\corelib_msw_tglbtn.obj \
|
||||
$(OBJS)\corelib_treectrl.obj \
|
||||
$(OBJS)\corelib_systhemectrl.obj \
|
||||
$(OBJS)\corelib_collheaderctrlg.obj \
|
||||
$(OBJS)\corelib_msw_checklst.obj \
|
||||
$(OBJS)\corelib_msw_fdrepdlg.obj \
|
||||
$(OBJS)\corelib_fontdlg.obj \
|
||||
@ -4617,6 +4624,7 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
|
||||
$(OBJS)\corelib_univ_toolbar.obj \
|
||||
$(OBJS)\corelib_topluniv.obj \
|
||||
$(OBJS)\corelib_winuniv.obj \
|
||||
$(OBJS)\corelib_collheaderctrlg.obj \
|
||||
$(OBJS)\corelib_gtk.obj \
|
||||
$(OBJS)\corelib_metal.obj \
|
||||
$(OBJS)\corelib_mono.obj \
|
||||
@ -8483,6 +8491,11 @@ $(OBJS)\monodll_evtloop.obj: ..\..\src\msw\evtloop.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\evtloop.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\monodll_collheaderctrlg.obj: ..\..\src\generic\collheaderctrlg.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\collheaderctrlg.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\monodll_accelcmn.obj: ..\..\src\common\accelcmn.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\accelcmn.cpp
|
||||
@ -10985,6 +10998,11 @@ $(OBJS)\monolib_evtloop.obj: ..\..\src\msw\evtloop.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\evtloop.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\monolib_collheaderctrlg.obj: ..\..\src\generic\collheaderctrlg.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\collheaderctrlg.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\monolib_accelcmn.obj: ..\..\src\common\accelcmn.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\accelcmn.cpp
|
||||
@ -13424,6 +13442,11 @@ $(OBJS)\coredll_evtloop.obj: ..\..\src\msw\evtloop.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\msw\evtloop.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\coredll_collheaderctrlg.obj: ..\..\src\generic\collheaderctrlg.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\generic\collheaderctrlg.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\coredll_accelcmn.obj: ..\..\src\common\accelcmn.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\accelcmn.cpp
|
||||
@ -14888,6 +14911,11 @@ $(OBJS)\corelib_evtloop.obj: ..\..\src\msw\evtloop.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\msw\evtloop.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\corelib_collheaderctrlg.obj: ..\..\src\generic\collheaderctrlg.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\generic\collheaderctrlg.cpp
|
||||
!endif
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\corelib_accelcmn.obj: ..\..\src\common\accelcmn.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\accelcmn.cpp
|
||||
|
@ -1005,6 +1005,7 @@
|
||||
<ClCompile Include="..\..\src\generic\vscroll.cpp" />
|
||||
<ClCompile Include="..\..\src\xrc\xmlreshandler.cpp" />
|
||||
<ClCompile Include="..\..\src\msw\systhemectrl.cpp" />
|
||||
<ClCompile Include="..\..\src\generic\collheaderctrlg.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\msw\version.rc">
|
||||
@ -1375,6 +1376,8 @@
|
||||
<ClInclude Include="..\..\include\wx\testing.h" />
|
||||
<ClInclude Include="..\..\include\wx\msw\ole\safearray.h" />
|
||||
<ClInclude Include="..\..\include\wx\systhemectrl.h" />
|
||||
<ClInclude Include="..\..\include\wx\collheaderctrl.h" />
|
||||
<ClInclude Include="..\..\include\wx\generic\collheaderctrl.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
@ -438,6 +438,9 @@
|
||||
<ClCompile Include="..\..\src\generic\clrpickerg.cpp">
|
||||
<Filter>Generic Sources</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\generic\collheaderctrlg.cpp">
|
||||
<Filter>Generic Sources</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\generic\collpaneg.cpp">
|
||||
<Filter>Generic Sources</Filter>
|
||||
</ClCompile>
|
||||
@ -973,6 +976,9 @@
|
||||
<ClInclude Include="..\..\include\wx\cmndata.h">
|
||||
<Filter>Common Headers</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\include\wx\collheaderctrl.h">
|
||||
<Filter>Common Headers</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\include\wx\collpane.h">
|
||||
<Filter>Common Headers</Filter>
|
||||
</ClInclude>
|
||||
@ -1144,6 +1150,9 @@
|
||||
<ClInclude Include="..\..\include\wx\generic\clrpickerg.h">
|
||||
<Filter>Generic Headers</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\include\wx\generic\collheaderctrl.h">
|
||||
<Filter>Generic Headers</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\include\wx\generic\collpaneg.h">
|
||||
<Filter>Generic Headers</Filter>
|
||||
</ClInclude>
|
||||
@ -1927,4 +1936,4 @@
|
||||
<Filter>MSW Headers</Filter>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -1070,6 +1070,9 @@
|
||||
<File
|
||||
RelativePath="..\..\src\generic\clrpickerg.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\collheaderctrlg.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\collpaneg.cpp">
|
||||
</File>
|
||||
@ -1668,6 +1671,9 @@
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\clrpickerg.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\collheaderctrl.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\collpaneg.h">
|
||||
</File>
|
||||
@ -1985,6 +1991,9 @@
|
||||
<File
|
||||
RelativePath="..\..\include\wx\cmndata.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\collheaderctrl.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\collpane.h">
|
||||
</File>
|
||||
|
@ -1839,6 +1839,10 @@
|
||||
RelativePath="..\..\src\generic\clrpickerg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\collheaderctrlg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\collpaneg.cpp"
|
||||
>
|
||||
@ -2726,6 +2730,10 @@
|
||||
RelativePath="..\..\include\wx\generic\clrpickerg.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\collheaderctrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\collpaneg.h"
|
||||
>
|
||||
@ -3148,6 +3156,10 @@
|
||||
RelativePath="..\..\include\wx\cmndata.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\collheaderctrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\collpane.h"
|
||||
>
|
||||
|
@ -1835,6 +1835,10 @@
|
||||
RelativePath="..\..\src\generic\clrpickerg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\collheaderctrlg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\generic\collpaneg.cpp"
|
||||
>
|
||||
@ -2722,6 +2726,10 @@
|
||||
RelativePath="..\..\include\wx\generic\clrpickerg.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\collheaderctrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\generic\collpaneg.h"
|
||||
>
|
||||
@ -3144,6 +3152,10 @@
|
||||
RelativePath="..\..\include\wx\cmndata.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\collheaderctrl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\include\wx\collpane.h"
|
||||
>
|
||||
|
97
include/wx/collheaderctrl.h
Normal file
97
include/wx/collheaderctrl.h
Normal file
@ -0,0 +1,97 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/collheaderctrl.h
|
||||
// Purpose: wxCollapsibleHeaderCtrl
|
||||
// Author: Tobias Taschner
|
||||
// Created: 2015-09-19
|
||||
// Copyright: (c) 2015 wxWidgets development team
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_COLLAPSIBLEHEADER_CTRL_H_
|
||||
#define _WX_COLLAPSIBLEHEADER_CTRL_H_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_COLLPANE
|
||||
|
||||
#include "wx/control.h"
|
||||
|
||||
// class name
|
||||
extern WXDLLIMPEXP_DATA_CORE(const char) wxCollapsibleHeaderCtrlNameStr[];
|
||||
|
||||
//
|
||||
// wxGenericCollapsibleHeaderCtrl
|
||||
//
|
||||
|
||||
class wxCollapsibleHeaderCtrlBase : public wxControl
|
||||
{
|
||||
public:
|
||||
wxCollapsibleHeaderCtrlBase() { }
|
||||
|
||||
wxCollapsibleHeaderCtrlBase(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBORDER_NONE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCollapsibleHeaderCtrlNameStr)
|
||||
{
|
||||
Create(parent, id, label, pos, size, style, validator, name);
|
||||
}
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBORDER_NONE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCollapsibleHeaderCtrlNameStr);
|
||||
|
||||
virtual void SetCollapsed(bool collapsed = true) = 0;
|
||||
|
||||
virtual bool IsCollapsed() const = 0;
|
||||
|
||||
private:
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(wxCollapsibleHeaderCtrlBase);
|
||||
};
|
||||
|
||||
wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_CORE, wxEVT_COLLAPSIBLEHEADER_CHANGED, wxCommandEvent);
|
||||
|
||||
#define wxCollapsibleHeaderChangedHandler(func) \
|
||||
wxEVENT_HANDLER_CAST(wxCommandEventFunction, func)
|
||||
|
||||
#define EVT_COLLAPSIBLEHEADER_CHANGED(id, fn) \
|
||||
wx__DECLARE_EVT1(wxEVT_COLLAPSIBLEHEADER_CHANGED, id, wxCollapsibleHeaderChangedHandler(fn))
|
||||
|
||||
// There currently only is the native implementation, use for all ports
|
||||
|
||||
#include "wx/generic/collheaderctrl.h"
|
||||
|
||||
class wxCollapsibleHeaderCtrl : public wxGenericCollapsibleHeaderCtrl
|
||||
{
|
||||
public:
|
||||
wxCollapsibleHeaderCtrl() { }
|
||||
|
||||
wxCollapsibleHeaderCtrl(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBORDER_NONE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCollapsibleHeaderCtrlNameStr)
|
||||
{
|
||||
Create(parent, id, label, pos, size, style, validator, name);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(wxCollapsibleHeaderCtrl);
|
||||
};
|
||||
|
||||
#endif // wxUSE_COLLPANE
|
||||
|
||||
#endif // _WX_COLLAPSIBLEHEADER_CTRL_H_
|
82
include/wx/generic/collheaderctrl.h
Normal file
82
include/wx/generic/collheaderctrl.h
Normal file
@ -0,0 +1,82 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/generic/collheaderctrl.h
|
||||
// Purpose: wxGenericCollapsibleHeaderCtrl
|
||||
// Author: Tobias Taschner
|
||||
// Created: 2015-09-19
|
||||
// Copyright: (c) 2015 wxWidgets development team
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_GENERIC_COLLAPSIBLEHEADER_CTRL_H_
|
||||
#define _WX_GENERIC_COLLAPSIBLEHEADER_CTRL_H_
|
||||
|
||||
class wxGenericCollapsibleHeaderCtrl : public wxCollapsibleHeaderCtrlBase
|
||||
{
|
||||
public:
|
||||
wxGenericCollapsibleHeaderCtrl() { Init(); }
|
||||
|
||||
wxGenericCollapsibleHeaderCtrl(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBORDER_NONE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCollapsibleHeaderCtrlNameStr)
|
||||
{
|
||||
Init();
|
||||
|
||||
Create(parent, id, label, pos, size, style, validator, name);
|
||||
}
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBORDER_NONE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCollapsibleHeaderCtrlNameStr);
|
||||
|
||||
virtual void SetCollapsed(bool collapsed = true) wxOVERRIDE;
|
||||
|
||||
virtual bool IsCollapsed() const wxOVERRIDE
|
||||
{ return m_collapsed; }
|
||||
|
||||
protected:
|
||||
|
||||
virtual wxSize DoGetBestClientSize() const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
bool m_collapsed;
|
||||
bool m_inWindow;
|
||||
bool m_mouseDown;
|
||||
|
||||
void Init();
|
||||
|
||||
void OnPaint(wxPaintEvent& event);
|
||||
|
||||
// Handle set/kill focus events (invalidate for painting focus rect)
|
||||
void OnFocus(wxFocusEvent& event);
|
||||
|
||||
// Handle click
|
||||
void OnLeftUp(wxMouseEvent& event);
|
||||
|
||||
// Handle pressed state
|
||||
void OnLeftDown(wxMouseEvent& event);
|
||||
|
||||
// Handle current state
|
||||
void OnEnterWindow(wxMouseEvent& event);
|
||||
|
||||
void OnLeaveWindow(wxMouseEvent& event);
|
||||
|
||||
// Toggle on space
|
||||
void OnChar(wxKeyEvent& event);
|
||||
|
||||
void DoSetCollapsed(bool collapsed);
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(wxGenericCollapsibleHeaderCtrl);
|
||||
};
|
||||
|
||||
|
||||
#endif // _WX_GENERIC_COLLAPSIBLEHEADER_CTRL_H_
|
@ -12,7 +12,7 @@
|
||||
#define _WX_COLLAPSABLE_PANE_H_GENERIC_
|
||||
|
||||
// forward declared
|
||||
class WXDLLIMPEXP_FWD_CORE wxButton;
|
||||
class WXDLLIMPEXP_FWD_CORE wxCollapsibleHeaderCtrl;
|
||||
class WXDLLIMPEXP_FWD_CORE wxStaticLine;
|
||||
#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
|
||||
class WXDLLIMPEXP_FWD_CORE wxDisclosureTriangle;
|
||||
@ -63,8 +63,7 @@ public:
|
||||
{ return m_pPane==NULL || !m_pPane->IsShown(); }
|
||||
virtual wxWindow *GetPane() const
|
||||
{ return m_pPane; }
|
||||
virtual wxString GetLabel() const
|
||||
{ return m_strLabel; }
|
||||
virtual wxString GetLabel() const;
|
||||
|
||||
virtual bool Layout();
|
||||
|
||||
@ -80,22 +79,18 @@ protected:
|
||||
// overridden methods
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
|
||||
wxString GetBtnLabel() const;
|
||||
int GetBorder() const;
|
||||
|
||||
// child controls
|
||||
#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
|
||||
wxDisclosureTriangle *m_pButton;
|
||||
#else
|
||||
wxButton *m_pButton;
|
||||
wxCollapsibleHeaderCtrl *m_pButton;
|
||||
#endif
|
||||
wxStaticLine *m_pStaticLine;
|
||||
wxWindow *m_pPane;
|
||||
wxSizer *m_sz;
|
||||
|
||||
// the button label without ">>" or "<<"
|
||||
wxString m_strLabel;
|
||||
|
||||
private:
|
||||
void Init();
|
||||
|
||||
|
78
interface/wx/collheaderctrl.h
Normal file
78
interface/wx/collheaderctrl.h
Normal file
@ -0,0 +1,78 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: interface/collheaderctrl.h
|
||||
// Purpose: wxCollapsibleHeaderCtrl documentation
|
||||
// Author: Tobias Taschner
|
||||
// Created: 2015-09-19
|
||||
// Copyright: (c) 2015 wxWidgets development team
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
@class wxCollapsibleHeaderCtrl
|
||||
|
||||
Header control above a collapsible pane.
|
||||
|
||||
The collapsible header usually constists of a small indicator of the
|
||||
collapsed state and the label text beside it.
|
||||
This class is used by the generic implemetation of wxCollapsiblePane but
|
||||
maybe used in more complex layouts for other uses.
|
||||
|
||||
@beginEventTable{wxCommandEvent}
|
||||
@event{EVT_COLLAPSIBLEHEADER_CHANGED(id, func)}
|
||||
User changed the collapsed state.
|
||||
@endEventTable
|
||||
|
||||
@since 3.1.0
|
||||
|
||||
@library{wxcore}
|
||||
@category{ctrl}
|
||||
|
||||
@see wxCollapsiblePane
|
||||
*/
|
||||
class wxCollapsibleHeaderCtrl : public wxControl
|
||||
{
|
||||
public:
|
||||
wxCollapsibleHeaderCtrl() { }
|
||||
|
||||
/**
|
||||
Constructor fully creating the control.
|
||||
|
||||
The arguments have the usual meanings and only @a parent is typically
|
||||
required.
|
||||
*/
|
||||
wxCollapsibleHeaderCtrl(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBORDER_NONE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCollapsibleHeaderCtrlNameStr);
|
||||
|
||||
/**
|
||||
Create the control initialized using the default constructor.
|
||||
|
||||
This method can be used to finish the control creation if it hadn't
|
||||
been done already by using the non-default constructor.
|
||||
*/
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBORDER_NONE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCollapsibleHeaderCtrlNameStr);
|
||||
|
||||
/**
|
||||
Set collpased state of the header.
|
||||
*/
|
||||
virtual void SetCollapsed(bool collapsed = true);
|
||||
|
||||
/**
|
||||
Returns @c true if the control is collapsed.
|
||||
|
||||
@see SetCollapsed()
|
||||
*/
|
||||
virtual bool IsCollapsed() const;
|
||||
};
|
193
src/generic/collheaderctrlg.cpp
Normal file
193
src/generic/collheaderctrlg.cpp
Normal file
@ -0,0 +1,193 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: src/generic/collheaderctrlg.cpp
|
||||
// Purpose: Generic wxCollapsibleHeaderCtrl implementation
|
||||
// Author: Tobias Taschner
|
||||
// Created: 2015-09-19
|
||||
// Copyright: (c) 2015 wxWidgets development team
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// headers
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_COLLPANE
|
||||
|
||||
#include "wx/collheaderctrl.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/sizer.h"
|
||||
#endif // !WX_PRECOMP
|
||||
|
||||
#include "wx/renderer.h"
|
||||
|
||||
// if we have another implementation of this class we should extract
|
||||
// the lines below to a common file
|
||||
|
||||
const char wxCollapsibleHeaderCtrlNameStr[] = "collapsibleHeader";
|
||||
|
||||
wxDEFINE_EVENT(wxEVT_COLLAPSIBLEHEADER_CHANGED, wxCommandEvent);
|
||||
|
||||
// ============================================================================
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::Init()
|
||||
{
|
||||
m_collapsed = true;
|
||||
m_inWindow = false;
|
||||
m_mouseDown = false;
|
||||
}
|
||||
|
||||
bool wxGenericCollapsibleHeaderCtrl::Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
long style,
|
||||
const wxValidator& validator,
|
||||
const wxString& name)
|
||||
{
|
||||
if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )
|
||||
return false;
|
||||
|
||||
SetLabel(label);
|
||||
|
||||
Bind(wxEVT_PAINT, &wxGenericCollapsibleHeaderCtrl::OnPaint, this);
|
||||
Bind(wxEVT_LEFT_DOWN, &wxGenericCollapsibleHeaderCtrl::OnLeftDown, this);
|
||||
Bind(wxEVT_LEFT_UP, &wxGenericCollapsibleHeaderCtrl::OnLeftUp, this);
|
||||
Bind(wxEVT_ENTER_WINDOW, &wxGenericCollapsibleHeaderCtrl::OnEnterWindow, this);
|
||||
Bind(wxEVT_LEAVE_WINDOW, &wxGenericCollapsibleHeaderCtrl::OnLeaveWindow, this);
|
||||
Bind(wxEVT_CHAR, &wxGenericCollapsibleHeaderCtrl::OnChar, this);
|
||||
Bind(wxEVT_SET_FOCUS, &wxGenericCollapsibleHeaderCtrl::OnFocus, this);
|
||||
Bind(wxEVT_KILL_FOCUS, &wxGenericCollapsibleHeaderCtrl::OnFocus, this);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
wxSize wxGenericCollapsibleHeaderCtrl::DoGetBestClientSize() const
|
||||
{
|
||||
wxClientDC dc(const_cast<wxGenericCollapsibleHeaderCtrl*>(this));
|
||||
wxSize btnSize = wxRendererNative::Get().GetCollapseButtonSize(const_cast<wxGenericCollapsibleHeaderCtrl*>(this), dc);
|
||||
wxString text;
|
||||
wxControl::FindAccelIndex(GetLabel(), &text);
|
||||
wxSize textSize = dc.GetTextExtent(text);
|
||||
// Add some padding if the label is not empty
|
||||
if ( textSize.x > 0 )
|
||||
textSize.x += FromDIP(4);
|
||||
|
||||
return wxSize(btnSize.x + textSize.x,
|
||||
wxMax(textSize.y, btnSize.y));
|
||||
}
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::SetCollapsed(bool collapsed)
|
||||
{
|
||||
m_collapsed = collapsed;
|
||||
Refresh();
|
||||
}
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::DoSetCollapsed(bool collapsed)
|
||||
{
|
||||
SetCollapsed(collapsed);
|
||||
|
||||
wxCommandEvent evt(wxEVT_COLLAPSIBLEHEADER_CHANGED, GetId());
|
||||
evt.SetEventObject(this);
|
||||
ProcessEvent(evt);
|
||||
}
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::OnFocus(wxFocusEvent& event)
|
||||
{
|
||||
Refresh();
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::OnChar(wxKeyEvent& event)
|
||||
{
|
||||
switch (event.GetKeyCode())
|
||||
{
|
||||
case WXK_SPACE:
|
||||
case WXK_RETURN:
|
||||
DoSetCollapsed(!m_collapsed);
|
||||
break;
|
||||
default:
|
||||
event.Skip();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::OnEnterWindow(wxMouseEvent& event)
|
||||
{
|
||||
m_inWindow = true;
|
||||
Refresh();
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::OnLeaveWindow(wxMouseEvent& event)
|
||||
{
|
||||
m_inWindow = false;
|
||||
Refresh();
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::OnLeftUp(wxMouseEvent& event)
|
||||
{
|
||||
m_mouseDown = false;
|
||||
DoSetCollapsed(!m_collapsed);
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::OnLeftDown(wxMouseEvent& event)
|
||||
{
|
||||
m_mouseDown = true;
|
||||
Refresh();
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
void wxGenericCollapsibleHeaderCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
{
|
||||
wxPaintDC dc(this);
|
||||
|
||||
wxRect rect(wxPoint(0, 0), GetClientSize());
|
||||
|
||||
wxSize btnSize = wxRendererNative::Get().GetCollapseButtonSize(this, dc);
|
||||
|
||||
wxRect btnRect(wxPoint(0, 0), btnSize);
|
||||
btnRect = btnRect.CenterIn(rect, wxVERTICAL);
|
||||
|
||||
int flags = 0;
|
||||
|
||||
if ( m_inWindow )
|
||||
flags |= wxCONTROL_CURRENT;
|
||||
|
||||
if ( m_mouseDown )
|
||||
flags |= wxCONTROL_PRESSED;
|
||||
|
||||
if ( !m_collapsed )
|
||||
flags |= wxCONTROL_EXPANDED;
|
||||
|
||||
wxRendererNative::Get().DrawCollapseButton(this, dc, btnRect, flags);
|
||||
|
||||
wxString text;
|
||||
int indexAccel = wxControl::FindAccelIndex(GetLabel(), &text);
|
||||
|
||||
wxSize textSize = dc.GetTextExtent(text);
|
||||
|
||||
wxRect textRect(wxPoint(btnSize.x + FromDIP(2), 0), textSize);
|
||||
textRect = textRect.CenterIn(rect, wxVERTICAL);
|
||||
|
||||
dc.DrawLabel(text, textRect, wxALIGN_CENTRE_VERTICAL, indexAccel);
|
||||
|
||||
if ( HasFocus() )
|
||||
wxRendererNative::Get().DrawFocusRect(this, dc, textRect.Inflate(1), flags);
|
||||
}
|
||||
|
||||
|
||||
#endif // wxUSE_COLLPANE
|
@ -28,12 +28,12 @@
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/toplevel.h"
|
||||
#include "wx/button.h"
|
||||
#include "wx/sizer.h"
|
||||
#include "wx/panel.h"
|
||||
#endif // !WX_PRECOMP
|
||||
|
||||
#include "wx/statline.h"
|
||||
#include "wx/collheaderctrl.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// constants
|
||||
@ -54,7 +54,7 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxGenericCollapsiblePane, wxControl);
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(wxCollapsiblePaneEvent, wxCommandEvent);
|
||||
|
||||
wxBEGIN_EVENT_TABLE(wxGenericCollapsiblePane, wxControl)
|
||||
EVT_BUTTON(wxID_ANY, wxGenericCollapsiblePane::OnButton)
|
||||
EVT_COLLAPSIBLEHEADER_CHANGED(wxID_ANY, wxGenericCollapsiblePane::OnButton)
|
||||
EVT_SIZE(wxGenericCollapsiblePane::OnSize)
|
||||
wxEND_EVENT_TABLE()
|
||||
|
||||
@ -78,26 +78,25 @@ bool wxGenericCollapsiblePane::Create(wxWindow *parent,
|
||||
if ( !wxControl::Create(parent, id, pos, size, style, val, name) )
|
||||
return false;
|
||||
|
||||
m_strLabel = label;
|
||||
|
||||
// sizer containing the expand button and possibly a static line
|
||||
m_sz = new wxBoxSizer(wxHORIZONTAL);
|
||||
m_sz = new wxBoxSizer(wxVERTICAL);
|
||||
|
||||
#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
|
||||
// on Mac we use the special disclosure triangle button
|
||||
m_pStaticLine = NULL;
|
||||
m_pButton = new wxDisclosureTriangle(this, wxID_ANY, GetBtnLabel());
|
||||
m_pButton = new wxDisclosureTriangle(this, wxID_ANY, label);
|
||||
m_sz->Add(m_pButton);
|
||||
#else
|
||||
// create children and lay them out using a wxBoxSizer
|
||||
// (so that we automatically get RTL features)
|
||||
m_pButton = new wxButton(this, wxID_ANY, GetBtnLabel(), wxPoint(0, 0),
|
||||
wxDefaultSize, wxBU_EXACTFIT);
|
||||
m_pButton = new wxCollapsibleHeaderCtrl(this, wxID_ANY, label, wxPoint(0, 0),
|
||||
wxDefaultSize);
|
||||
m_pStaticLine = new wxStaticLine(this, wxID_ANY);
|
||||
|
||||
// on other platforms we put the static line and the button horizontally
|
||||
m_sz->Add(m_pButton, 0, wxLEFT|wxTOP|wxBOTTOM, GetBorder());
|
||||
m_sz->Add(m_pStaticLine, 1, wxALIGN_CENTER|wxLEFT|wxRIGHT, GetBorder());
|
||||
m_sz->Add(m_pStaticLine, 0, wxEXPAND, GetBorder());
|
||||
m_pStaticLine->Hide();
|
||||
#endif
|
||||
|
||||
// FIXME: at least under wxCE and wxGTK1 the background is black if we don't do
|
||||
@ -143,16 +142,6 @@ wxSize wxGenericCollapsiblePane::DoGetBestSize() const
|
||||
return sz;
|
||||
}
|
||||
|
||||
wxString wxGenericCollapsiblePane::GetBtnLabel() const
|
||||
{
|
||||
// on mac the triangle indicates the state, no string change
|
||||
#ifdef __WXMAC__
|
||||
return m_strLabel;
|
||||
#else
|
||||
return m_strLabel + (IsCollapsed() ? wxT(" >>") : wxT(" <<"));
|
||||
#endif
|
||||
}
|
||||
|
||||
void wxGenericCollapsiblePane::OnStateChange(const wxSize& sz)
|
||||
{
|
||||
// minimal size has priority over the best size so set here our min size
|
||||
@ -199,7 +188,8 @@ void wxGenericCollapsiblePane::Collapse(bool collapse)
|
||||
m_pButton->SetOpen( !collapse );
|
||||
#else
|
||||
// NB: this must be done after updating our "state"
|
||||
m_pButton->SetLabel(GetBtnLabel());
|
||||
m_pButton->SetCollapsed(collapse);
|
||||
m_pStaticLine->Show(!collapse);
|
||||
#endif
|
||||
|
||||
|
||||
@ -208,17 +198,21 @@ void wxGenericCollapsiblePane::Collapse(bool collapse)
|
||||
|
||||
void wxGenericCollapsiblePane::SetLabel(const wxString &label)
|
||||
{
|
||||
m_strLabel = label;
|
||||
#ifdef __WXMAC__
|
||||
m_pButton->SetLabel(GetBtnLabel());
|
||||
m_pButton->SetLabel(label);
|
||||
#else
|
||||
m_pButton->SetLabel(GetBtnLabel());
|
||||
m_pButton->SetLabel(label);
|
||||
m_pButton->SetInitialSize();
|
||||
#endif
|
||||
|
||||
Layout();
|
||||
}
|
||||
|
||||
wxString wxGenericCollapsiblePane::GetLabel() const
|
||||
{
|
||||
return m_pButton->GetLabel();
|
||||
}
|
||||
|
||||
bool wxGenericCollapsiblePane::Layout()
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
|
Loading…
Reference in New Issue
Block a user