xrcdll_xh_chckl.o \
xrcdll_xh_choic.o \
xrcdll_xh_choicbk.o \
+ xrcdll_xh_clrpicker.o \
xrcdll_xh_combo.o \
xrcdll_xh_datectrl.o \
+ xrcdll_xh_dirpicker.o \
xrcdll_xh_dlg.o \
xrcdll_xh_frame.o \
xrcdll_xh_mdi.o \
+ xrcdll_xh_filepicker.o \
+ xrcdll_xh_fontpicker.o \
xrcdll_xh_gauge.o \
xrcdll_xh_gdctl.o \
xrcdll_xh_grid.o \
xrclib_xh_chckl.o \
xrclib_xh_choic.o \
xrclib_xh_choicbk.o \
+ xrclib_xh_clrpicker.o \
xrclib_xh_combo.o \
xrclib_xh_datectrl.o \
+ xrclib_xh_dirpicker.o \
xrclib_xh_dlg.o \
xrclib_xh_frame.o \
xrclib_xh_mdi.o \
+ xrclib_xh_filepicker.o \
+ xrclib_xh_fontpicker.o \
xrclib_xh_gauge.o \
xrclib_xh_gdctl.o \
xrclib_xh_grid.o \
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@GUI_HDR = $(COND_TOOLKIT_GTK_TOOLKIT_VERSION__GUI_HDR)
COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_GUI_HDR = \
wx/generic/colrdlgg.h \
+ wx/generic/clrpickerg.h \
wx/generic/dirdlgg.h \
wx/generic/fdrepdlg.h \
+ wx/generic/fontpickerg.h \
+ wx/generic/filepickerg.h \
wx/generic/listctrl.h \
wx/generic/statusbr.h \
wx/generic/tabg.h \
wx/gtk/choice.h \
wx/gtk/combobox.h \
wx/gtk/control.h \
+ wx/gtk/clrpicker.h \
wx/gtk/dialog.h \
wx/gtk/dirdlg.h \
wx/gtk/filedlg.h \
+ wx/gtk/fontpicker.h \
+ wx/gtk/filepicker.h \
wx/gtk/fontdlg.h \
wx/gtk/frame.h \
wx/gtk/gauge.h \
wx/motif/window.h
@COND_TOOLKIT_MOTIF@GUI_HDR = $(COND_TOOLKIT_MOTIF_GUI_HDR)
COND_TOOLKIT_MSW_GUI_HDR = \
+ wx/generic/clrpicker.h \
+ wx/generic/fontpicker.h \
+ wx/generic/filepicker.h \
wx/msw/accel.h \
wx/msw/app.h \
wx/msw/bitmap.h \
wx/os2/window.h
@COND_TOOLKIT_PM@GUI_HDR = $(COND_TOOLKIT_PM_GUI_HDR)
COND_TOOLKIT_WINCE_GUI_HDR = \
+ wx/generic/clrpicker.h \
+ wx/generic/fontpicker.h \
+ wx/generic/filepicker.h \
wx/msw/accel.h \
wx/msw/app.h \
wx/msw/bitmap.h \
wx/caret.h \
wx/choicebk.h \
wx/clipbrd.h \
+ wx/clrpicker.h \
wx/cmdproc.h \
wx/colordlg.h \
wx/colour.h \
wx/effects.h \
wx/evtloop.h \
wx/fdrepdlg.h \
+ wx/filepicker.h \
+ wx/fontpicker.h \
wx/fmappriv.h \
wx/font.h \
wx/fontdlg.h \
wx/xrc/xh_chckl.h \
wx/xrc/xh_choic.h \
wx/xrc/xh_choicbk.h \
+ wx/xrc/xh_clrpicker.h \
wx/xrc/xh_combo.h \
wx/xrc/xh_datectrl.h \
+ wx/xrc/xh_dirpicker.h \
wx/xrc/xh_dlg.h \
+ wx/xrc/xh_filepicker.h \
+ wx/xrc/xh_fontpicker.h \
wx/xrc/xh_frame.h \
wx/xrc/xh_mdi.h \
wx/xrc/xh_gauge.h \
monodll_xh_chckl.o \
monodll_xh_choic.o \
monodll_xh_choicbk.o \
+ monodll_xh_clrpicker.o \
monodll_xh_combo.o \
monodll_xh_datectrl.o \
+ monodll_xh_dirpicker.o \
monodll_xh_dlg.o \
monodll_xh_frame.o \
monodll_xh_mdi.o \
+ monodll_xh_filepicker.o \
+ monodll_xh_fontpicker.o \
monodll_xh_gauge.o \
monodll_xh_gdctl.o \
monodll_xh_grid.o \
monodll_bookctrl.o \
monodll_choiccmn.o \
monodll_clipcmn.o \
+ monodll_clrpickercmn.o \
monodll_colourcmn.o \
monodll_combocmn.o \
monodll_cmdproc.o \
monodll_effects.o \
monodll_evtloopcmn.o \
monodll_fddlgcmn.o \
+ monodll_filepickercmn.o \
+ monodll_fontpickercmn.o \
monodll_fldlgcmn.o \
monodll_fontcmn.o \
monodll_fontenumcmn.o \
monodll_menucmn.o \
monodll_nbkbase.o \
monodll_paper.o \
+ monodll_pickerbase.o \
monodll_popupcmn.o \
monodll_prntbase.o \
monodll_quantize.o \
monodll_bookctrl.o \
monodll_choiccmn.o \
monodll_clipcmn.o \
+ monodll_clrpickercmn.o \
monodll_colourcmn.o \
monodll_combocmn.o \
monodll_cmdproc.o \
monodll_effects.o \
monodll_evtloopcmn.o \
monodll_fddlgcmn.o \
+ monodll_filepickercmn.o \
+ monodll_fontpickercmn.o \
monodll_fldlgcmn.o \
monodll_fontcmn.o \
monodll_fontenumcmn.o \
monodll_menucmn.o \
monodll_nbkbase.o \
monodll_paper.o \
+ monodll_pickerbase.o \
monodll_popupcmn.o \
monodll_prntbase.o \
monodll_quantize.o \
COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___GUI_SRC_OBJECTS = \
monodll_accel.o \
monodll_colrdlgg.o \
+ monodll_clrpickerg.o \
monodll_dirdlgg.o \
monodll_fdrepdlg.o \
+ monodll_fontpickerg.o \
+ monodll_filepickerg.o \
monodll_filedlgg.o \
monodll_imaglist.o \
monodll_listctrl.o \
monodll_colordlg.o \
monodll_combobox.o \
monodll_control.o \
+ monodll_clrpicker.o \
monodll_dialog.o \
+ monodll_fontpicker.o \
+ monodll_filepicker.o \
monodll_dirdlg.o \
monodll_filedlg.o \
monodll_fontdlg.o \
monodll_tabg.o
@COND_TOOLKIT_MOTIF@__GUI_SRC_OBJECTS = $(COND_TOOLKIT_MOTIF___GUI_SRC_OBJECTS)
COND_TOOLKIT_MSW___GUI_SRC_OBJECTS = \
+ monodll_clrpickerg.o \
+ monodll_fontpickerg.o \
+ monodll_filepickerg.o \
monodll_statusbr.o \
monodll_prntdlgg.o \
monodll_accel.o \
monodll_window.o
@COND_TOOLKIT_PM@__GUI_SRC_OBJECTS = $(COND_TOOLKIT_PM___GUI_SRC_OBJECTS)
COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS = \
+ monodll_clrpickerg.o \
+ monodll_fontpickerg.o \
+ monodll_filepickerg.o \
monodll_statusbr.o \
monodll_prntdlgg.o \
monodll_accel.o \
monolib_xh_chckl.o \
monolib_xh_choic.o \
monolib_xh_choicbk.o \
+ monolib_xh_clrpicker.o \
monolib_xh_combo.o \
monolib_xh_datectrl.o \
+ monolib_xh_dirpicker.o \
monolib_xh_dlg.o \
monolib_xh_frame.o \
monolib_xh_mdi.o \
+ monolib_xh_filepicker.o \
+ monolib_xh_fontpicker.o \
monolib_xh_gauge.o \
monolib_xh_gdctl.o \
monolib_xh_grid.o \
monolib_bookctrl.o \
monolib_choiccmn.o \
monolib_clipcmn.o \
+ monolib_clrpickercmn.o \
monolib_colourcmn.o \
monolib_combocmn.o \
monolib_cmdproc.o \
monolib_effects.o \
monolib_evtloopcmn.o \
monolib_fddlgcmn.o \
+ monolib_filepickercmn.o \
+ monolib_fontpickercmn.o \
monolib_fldlgcmn.o \
monolib_fontcmn.o \
monolib_fontenumcmn.o \
monolib_menucmn.o \
monolib_nbkbase.o \
monolib_paper.o \
+ monolib_pickerbase.o \
monolib_popupcmn.o \
monolib_prntbase.o \
monolib_quantize.o \
monolib_bookctrl.o \
monolib_choiccmn.o \
monolib_clipcmn.o \
+ monolib_clrpickercmn.o \
monolib_colourcmn.o \
monolib_combocmn.o \
monolib_cmdproc.o \
monolib_effects.o \
monolib_evtloopcmn.o \
monolib_fddlgcmn.o \
+ monolib_filepickercmn.o \
+ monolib_fontpickercmn.o \
monolib_fldlgcmn.o \
monolib_fontcmn.o \
monolib_fontenumcmn.o \
monolib_menucmn.o \
monolib_nbkbase.o \
monolib_paper.o \
+ monolib_pickerbase.o \
monolib_popupcmn.o \
monolib_prntbase.o \
monolib_quantize.o \
COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___GUI_SRC_OBJECTS_1 = \
monolib_accel.o \
monolib_colrdlgg.o \
+ monolib_clrpickerg.o \
monolib_dirdlgg.o \
monolib_fdrepdlg.o \
+ monolib_fontpickerg.o \
+ monolib_filepickerg.o \
monolib_filedlgg.o \
monolib_imaglist.o \
monolib_listctrl.o \
monolib_colordlg.o \
monolib_combobox.o \
monolib_control.o \
+ monolib_clrpicker.o \
monolib_dialog.o \
+ monolib_fontpicker.o \
+ monolib_filepicker.o \
monolib_dirdlg.o \
monolib_filedlg.o \
monolib_fontdlg.o \
monolib_tabg.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 \
+ monolib_fontpickerg.o \
+ monolib_filepickerg.o \
monolib_statusbr.o \
monolib_prntdlgg.o \
monolib_accel.o \
monolib_window.o
@COND_TOOLKIT_PM@__GUI_SRC_OBJECTS_1 = $(COND_TOOLKIT_PM___GUI_SRC_OBJECTS_1)
COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_1 = \
+ monolib_clrpickerg.o \
+ monolib_fontpickerg.o \
+ monolib_filepickerg.o \
monolib_statusbr.o \
monolib_prntdlgg.o \
monolib_accel.o \
coredll_bookctrl.o \
coredll_choiccmn.o \
coredll_clipcmn.o \
+ coredll_clrpickercmn.o \
coredll_colourcmn.o \
coredll_combocmn.o \
coredll_cmdproc.o \
coredll_effects.o \
coredll_evtloopcmn.o \
coredll_fddlgcmn.o \
+ coredll_filepickercmn.o \
+ coredll_fontpickercmn.o \
coredll_fldlgcmn.o \
coredll_fontcmn.o \
coredll_fontenumcmn.o \
coredll_menucmn.o \
coredll_nbkbase.o \
coredll_paper.o \
+ coredll_pickerbase.o \
coredll_popupcmn.o \
coredll_prntbase.o \
coredll_quantize.o \
coredll_bookctrl.o \
coredll_choiccmn.o \
coredll_clipcmn.o \
+ coredll_clrpickercmn.o \
coredll_colourcmn.o \
coredll_combocmn.o \
coredll_cmdproc.o \
coredll_effects.o \
coredll_evtloopcmn.o \
coredll_fddlgcmn.o \
+ coredll_filepickercmn.o \
+ coredll_fontpickercmn.o \
coredll_fldlgcmn.o \
coredll_fontcmn.o \
coredll_fontenumcmn.o \
coredll_menucmn.o \
coredll_nbkbase.o \
coredll_paper.o \
+ coredll_pickerbase.o \
coredll_popupcmn.o \
coredll_prntbase.o \
coredll_quantize.o \
COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___GUI_SRC_OBJECTS_2 = \
coredll_accel.o \
coredll_colrdlgg.o \
+ coredll_clrpickerg.o \
coredll_dirdlgg.o \
coredll_fdrepdlg.o \
+ coredll_fontpickerg.o \
+ coredll_filepickerg.o \
coredll_filedlgg.o \
coredll_imaglist.o \
coredll_listctrl.o \
coredll_colordlg.o \
coredll_combobox.o \
coredll_control.o \
+ coredll_clrpicker.o \
coredll_dialog.o \
+ coredll_fontpicker.o \
+ coredll_filepicker.o \
coredll_dirdlg.o \
coredll_filedlg.o \
coredll_fontdlg.o \
coredll_tabg.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 \
+ coredll_fontpickerg.o \
+ coredll_filepickerg.o \
coredll_statusbr.o \
coredll_prntdlgg.o \
coredll_accel.o \
coredll_window.o
@COND_TOOLKIT_PM@__GUI_SRC_OBJECTS_2 = $(COND_TOOLKIT_PM___GUI_SRC_OBJECTS_2)
COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_2 = \
+ coredll_clrpickerg.o \
+ coredll_fontpickerg.o \
+ coredll_filepickerg.o \
coredll_statusbr.o \
coredll_prntdlgg.o \
coredll_accel.o \
corelib_bookctrl.o \
corelib_choiccmn.o \
corelib_clipcmn.o \
+ corelib_clrpickercmn.o \
corelib_colourcmn.o \
corelib_combocmn.o \
corelib_cmdproc.o \
corelib_effects.o \
corelib_evtloopcmn.o \
corelib_fddlgcmn.o \
+ corelib_filepickercmn.o \
+ corelib_fontpickercmn.o \
corelib_fldlgcmn.o \
corelib_fontcmn.o \
corelib_fontenumcmn.o \
corelib_menucmn.o \
corelib_nbkbase.o \
corelib_paper.o \
+ corelib_pickerbase.o \
corelib_popupcmn.o \
corelib_prntbase.o \
corelib_quantize.o \
corelib_bookctrl.o \
corelib_choiccmn.o \
corelib_clipcmn.o \
+ corelib_clrpickercmn.o \
corelib_colourcmn.o \
corelib_combocmn.o \
corelib_cmdproc.o \
corelib_effects.o \
corelib_evtloopcmn.o \
corelib_fddlgcmn.o \
+ corelib_filepickercmn.o \
+ corelib_fontpickercmn.o \
corelib_fldlgcmn.o \
corelib_fontcmn.o \
corelib_fontenumcmn.o \
corelib_menucmn.o \
corelib_nbkbase.o \
corelib_paper.o \
+ corelib_pickerbase.o \
corelib_popupcmn.o \
corelib_prntbase.o \
corelib_quantize.o \
COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___GUI_SRC_OBJECTS_3 = \
corelib_accel.o \
corelib_colrdlgg.o \
+ corelib_clrpickerg.o \
corelib_dirdlgg.o \
corelib_fdrepdlg.o \
+ corelib_fontpickerg.o \
+ corelib_filepickerg.o \
corelib_filedlgg.o \
corelib_imaglist.o \
corelib_listctrl.o \
corelib_colordlg.o \
corelib_combobox.o \
corelib_control.o \
+ corelib_clrpicker.o \
corelib_dialog.o \
+ corelib_fontpicker.o \
+ corelib_filepicker.o \
corelib_dirdlg.o \
corelib_filedlg.o \
corelib_fontdlg.o \
corelib_tabg.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 \
+ corelib_fontpickerg.o \
+ corelib_filepickerg.o \
corelib_statusbr.o \
corelib_prntdlgg.o \
corelib_accel.o \
corelib_window.o
@COND_TOOLKIT_PM@__GUI_SRC_OBJECTS_3 = $(COND_TOOLKIT_PM___GUI_SRC_OBJECTS_3)
COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_3 = \
+ corelib_clrpickerg.o \
+ corelib_fontpickerg.o \
+ corelib_filepickerg.o \
corelib_statusbr.o \
corelib_prntdlgg.o \
corelib_accel.o \
monodll_artgtk.o: $(srcdir)/src/gtk/artgtk.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/gtk/artgtk.cpp
+monodll_clrpicker.o: $(srcdir)/src/gtk/clrpicker.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/gtk/clrpicker.cpp
+
+monodll_fontpicker.o: $(srcdir)/src/gtk/fontpicker.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/gtk/fontpicker.cpp
+
+monodll_filepicker.o: $(srcdir)/src/gtk/filepicker.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/gtk/filepicker.cpp
+
monodll_gprint.o: $(srcdir)/src/gtk/gnome/gprint.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/gtk/gnome/gprint.cpp
monodll_xh_choicbk.o: $(srcdir)/src/xrc/xh_choicbk.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_choicbk.cpp
+monodll_xh_clrpicker.o: $(srcdir)/src/xrc/xh_clrpicker.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_clrpicker.cpp
+
monodll_xh_combo.o: $(srcdir)/src/xrc/xh_combo.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_combo.cpp
monodll_xh_datectrl.o: $(srcdir)/src/xrc/xh_datectrl.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_datectrl.cpp
+monodll_xh_dirpicker.o: $(srcdir)/src/xrc/xh_dirpicker.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_dirpicker.cpp
+
monodll_xh_dlg.o: $(srcdir)/src/xrc/xh_dlg.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_dlg.cpp
monodll_xh_mdi.o: $(srcdir)/src/xrc/xh_mdi.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_mdi.cpp
+monodll_xh_filepicker.o: $(srcdir)/src/xrc/xh_filepicker.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_filepicker.cpp
+
+monodll_xh_fontpicker.o: $(srcdir)/src/xrc/xh_fontpicker.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_fontpicker.cpp
+
monodll_xh_gauge.o: $(srcdir)/src/xrc/xh_gauge.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_gauge.cpp
@COND_USE_GUI_1_WXUNIV_1@monodll_colrdlgg.o: $(srcdir)/src/generic/colrdlgg.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/colrdlgg.cpp
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monodll_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monodll_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monodll_dirdlgg.o: $(srcdir)/src/generic/dirdlgg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/dirdlgg.cpp
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_fdrepdlg.o: $(srcdir)/src/msw/fdrepdlg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/fdrepdlg.cpp
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monodll_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monodll_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monodll_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monodll_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monodll_filedlgg.o: $(srcdir)/src/generic/filedlgg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/filedlgg.cpp
@COND_USE_GUI_1@monodll_clipcmn.o: $(srcdir)/src/common/clipcmn.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/clipcmn.cpp
+@COND_USE_GUI_1@monodll_clrpickercmn.o: $(srcdir)/src/common/clrpickercmn.cpp $(MONODLL_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/clrpickercmn.cpp
+
@COND_USE_GUI_1@monodll_colourcmn.o: $(srcdir)/src/common/colourcmn.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/colourcmn.cpp
@COND_USE_GUI_1@monodll_fddlgcmn.o: $(srcdir)/src/common/fddlgcmn.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/fddlgcmn.cpp
+@COND_USE_GUI_1@monodll_filepickercmn.o: $(srcdir)/src/common/filepickercmn.cpp $(MONODLL_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/filepickercmn.cpp
+
+@COND_USE_GUI_1@monodll_fontpickercmn.o: $(srcdir)/src/common/fontpickercmn.cpp $(MONODLL_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/fontpickercmn.cpp
+
@COND_USE_GUI_1@monodll_fldlgcmn.o: $(srcdir)/src/common/fldlgcmn.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/fldlgcmn.cpp
@COND_USE_GUI_1@monodll_paper.o: $(srcdir)/src/common/paper.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/paper.cpp
+@COND_USE_GUI_1@monodll_pickerbase.o: $(srcdir)/src/common/pickerbase.cpp $(MONODLL_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/pickerbase.cpp
+
@COND_USE_GUI_1@monodll_popupcmn.o: $(srcdir)/src/common/popupcmn.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/popupcmn.cpp
monolib_artgtk.o: $(srcdir)/src/gtk/artgtk.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/gtk/artgtk.cpp
+monolib_clrpicker.o: $(srcdir)/src/gtk/clrpicker.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/gtk/clrpicker.cpp
+
+monolib_fontpicker.o: $(srcdir)/src/gtk/fontpicker.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/gtk/fontpicker.cpp
+
+monolib_filepicker.o: $(srcdir)/src/gtk/filepicker.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/gtk/filepicker.cpp
+
monolib_gprint.o: $(srcdir)/src/gtk/gnome/gprint.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/gtk/gnome/gprint.cpp
monolib_xh_choicbk.o: $(srcdir)/src/xrc/xh_choicbk.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_choicbk.cpp
+monolib_xh_clrpicker.o: $(srcdir)/src/xrc/xh_clrpicker.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_clrpicker.cpp
+
monolib_xh_combo.o: $(srcdir)/src/xrc/xh_combo.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_combo.cpp
monolib_xh_datectrl.o: $(srcdir)/src/xrc/xh_datectrl.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_datectrl.cpp
+monolib_xh_dirpicker.o: $(srcdir)/src/xrc/xh_dirpicker.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_dirpicker.cpp
+
monolib_xh_dlg.o: $(srcdir)/src/xrc/xh_dlg.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_dlg.cpp
monolib_xh_mdi.o: $(srcdir)/src/xrc/xh_mdi.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_mdi.cpp
+monolib_xh_filepicker.o: $(srcdir)/src/xrc/xh_filepicker.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_filepicker.cpp
+
+monolib_xh_fontpicker.o: $(srcdir)/src/xrc/xh_fontpicker.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_fontpicker.cpp
+
monolib_xh_gauge.o: $(srcdir)/src/xrc/xh_gauge.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_gauge.cpp
@COND_USE_GUI_1_WXUNIV_1@monolib_colrdlgg.o: $(srcdir)/src/generic/colrdlgg.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/colrdlgg.cpp
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monolib_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monolib_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monolib_dirdlgg.o: $(srcdir)/src/generic/dirdlgg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/dirdlgg.cpp
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_fdrepdlg.o: $(srcdir)/src/msw/fdrepdlg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/fdrepdlg.cpp
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monolib_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monolib_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monolib_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monolib_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@monolib_filedlgg.o: $(srcdir)/src/generic/filedlgg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/filedlgg.cpp
@COND_USE_GUI_1@monolib_clipcmn.o: $(srcdir)/src/common/clipcmn.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/clipcmn.cpp
+@COND_USE_GUI_1@monolib_clrpickercmn.o: $(srcdir)/src/common/clrpickercmn.cpp $(MONOLIB_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/clrpickercmn.cpp
+
@COND_USE_GUI_1@monolib_colourcmn.o: $(srcdir)/src/common/colourcmn.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/colourcmn.cpp
@COND_USE_GUI_1@monolib_fddlgcmn.o: $(srcdir)/src/common/fddlgcmn.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/fddlgcmn.cpp
+@COND_USE_GUI_1@monolib_filepickercmn.o: $(srcdir)/src/common/filepickercmn.cpp $(MONOLIB_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/filepickercmn.cpp
+
+@COND_USE_GUI_1@monolib_fontpickercmn.o: $(srcdir)/src/common/fontpickercmn.cpp $(MONOLIB_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/fontpickercmn.cpp
+
@COND_USE_GUI_1@monolib_fldlgcmn.o: $(srcdir)/src/common/fldlgcmn.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/fldlgcmn.cpp
@COND_USE_GUI_1@monolib_paper.o: $(srcdir)/src/common/paper.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/paper.cpp
+@COND_USE_GUI_1@monolib_pickerbase.o: $(srcdir)/src/common/pickerbase.cpp $(MONOLIB_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/pickerbase.cpp
+
@COND_USE_GUI_1@monolib_popupcmn.o: $(srcdir)/src/common/popupcmn.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/popupcmn.cpp
coredll_artgtk.o: $(srcdir)/src/gtk/artgtk.cpp $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/gtk/artgtk.cpp
+coredll_clrpicker.o: $(srcdir)/src/gtk/clrpicker.cpp $(COREDLL_ODEP)
+ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/gtk/clrpicker.cpp
+
+coredll_fontpicker.o: $(srcdir)/src/gtk/fontpicker.cpp $(COREDLL_ODEP)
+ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/gtk/fontpicker.cpp
+
+coredll_filepicker.o: $(srcdir)/src/gtk/filepicker.cpp $(COREDLL_ODEP)
+ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/gtk/filepicker.cpp
+
coredll_gprint.o: $(srcdir)/src/gtk/gnome/gprint.cpp $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/gtk/gnome/gprint.cpp
@COND_USE_GUI_1_WXUNIV_1@coredll_colrdlgg.o: $(srcdir)/src/generic/colrdlgg.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/colrdlgg.cpp
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@coredll_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@coredll_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@coredll_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@coredll_dirdlgg.o: $(srcdir)/src/generic/dirdlgg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/dirdlgg.cpp
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@coredll_fdrepdlg.o: $(srcdir)/src/msw/fdrepdlg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/msw/fdrepdlg.cpp
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@coredll_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@coredll_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@coredll_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@coredll_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@coredll_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@coredll_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(COREDLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@coredll_filedlgg.o: $(srcdir)/src/generic/filedlgg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/generic/filedlgg.cpp
@COND_USE_GUI_1@coredll_clipcmn.o: $(srcdir)/src/common/clipcmn.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/clipcmn.cpp
+@COND_USE_GUI_1@coredll_clrpickercmn.o: $(srcdir)/src/common/clrpickercmn.cpp $(COREDLL_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/clrpickercmn.cpp
+
@COND_USE_GUI_1@coredll_colourcmn.o: $(srcdir)/src/common/colourcmn.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/colourcmn.cpp
@COND_USE_GUI_1@coredll_fddlgcmn.o: $(srcdir)/src/common/fddlgcmn.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/fddlgcmn.cpp
+@COND_USE_GUI_1@coredll_filepickercmn.o: $(srcdir)/src/common/filepickercmn.cpp $(COREDLL_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/filepickercmn.cpp
+
+@COND_USE_GUI_1@coredll_fontpickercmn.o: $(srcdir)/src/common/fontpickercmn.cpp $(COREDLL_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/fontpickercmn.cpp
+
@COND_USE_GUI_1@coredll_fldlgcmn.o: $(srcdir)/src/common/fldlgcmn.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/fldlgcmn.cpp
@COND_USE_GUI_1@coredll_paper.o: $(srcdir)/src/common/paper.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/paper.cpp
+@COND_USE_GUI_1@coredll_pickerbase.o: $(srcdir)/src/common/pickerbase.cpp $(COREDLL_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/pickerbase.cpp
+
@COND_USE_GUI_1@coredll_popupcmn.o: $(srcdir)/src/common/popupcmn.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $(srcdir)/src/common/popupcmn.cpp
corelib_artgtk.o: $(srcdir)/src/gtk/artgtk.cpp $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/gtk/artgtk.cpp
+corelib_clrpicker.o: $(srcdir)/src/gtk/clrpicker.cpp $(CORELIB_ODEP)
+ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/gtk/clrpicker.cpp
+
+corelib_fontpicker.o: $(srcdir)/src/gtk/fontpicker.cpp $(CORELIB_ODEP)
+ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/gtk/fontpicker.cpp
+
+corelib_filepicker.o: $(srcdir)/src/gtk/filepicker.cpp $(CORELIB_ODEP)
+ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/gtk/filepicker.cpp
+
corelib_gprint.o: $(srcdir)/src/gtk/gnome/gprint.cpp $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/gtk/gnome/gprint.cpp
@COND_USE_GUI_1_WXUNIV_1@corelib_colrdlgg.o: $(srcdir)/src/generic/colrdlgg.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/colrdlgg.cpp
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@corelib_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@corelib_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@corelib_clrpickerg.o: $(srcdir)/src/generic/clrpickerg.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/clrpickerg.cpp
+
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@corelib_dirdlgg.o: $(srcdir)/src/generic/dirdlgg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/dirdlgg.cpp
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@corelib_fdrepdlg.o: $(srcdir)/src/msw/fdrepdlg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/msw/fdrepdlg.cpp
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@corelib_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@corelib_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@corelib_fontpickerg.o: $(srcdir)/src/generic/fontpickerg.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/fontpickerg.cpp
+
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@corelib_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@corelib_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@corelib_filepickerg.o: $(srcdir)/src/generic/filepickerg.cpp $(CORELIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/filepickerg.cpp
+
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@corelib_filedlgg.o: $(srcdir)/src/generic/filedlgg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/generic/filedlgg.cpp
@COND_USE_GUI_1@corelib_clipcmn.o: $(srcdir)/src/common/clipcmn.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/clipcmn.cpp
+@COND_USE_GUI_1@corelib_clrpickercmn.o: $(srcdir)/src/common/clrpickercmn.cpp $(CORELIB_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/clrpickercmn.cpp
+
@COND_USE_GUI_1@corelib_colourcmn.o: $(srcdir)/src/common/colourcmn.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/colourcmn.cpp
@COND_USE_GUI_1@corelib_fddlgcmn.o: $(srcdir)/src/common/fddlgcmn.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/fddlgcmn.cpp
+@COND_USE_GUI_1@corelib_filepickercmn.o: $(srcdir)/src/common/filepickercmn.cpp $(CORELIB_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/filepickercmn.cpp
+
+@COND_USE_GUI_1@corelib_fontpickercmn.o: $(srcdir)/src/common/fontpickercmn.cpp $(CORELIB_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/fontpickercmn.cpp
+
@COND_USE_GUI_1@corelib_fldlgcmn.o: $(srcdir)/src/common/fldlgcmn.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/fldlgcmn.cpp
@COND_USE_GUI_1@corelib_paper.o: $(srcdir)/src/common/paper.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/paper.cpp
+@COND_USE_GUI_1@corelib_pickerbase.o: $(srcdir)/src/common/pickerbase.cpp $(CORELIB_ODEP)
+@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/pickerbase.cpp
+
@COND_USE_GUI_1@corelib_popupcmn.o: $(srcdir)/src/common/popupcmn.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $(srcdir)/src/common/popupcmn.cpp
xrcdll_xh_choicbk.o: $(srcdir)/src/xrc/xh_choicbk.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_choicbk.cpp
+xrcdll_xh_clrpicker.o: $(srcdir)/src/xrc/xh_clrpicker.cpp $(XRCDLL_ODEP)
+ $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_clrpicker.cpp
+
xrcdll_xh_combo.o: $(srcdir)/src/xrc/xh_combo.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_combo.cpp
xrcdll_xh_datectrl.o: $(srcdir)/src/xrc/xh_datectrl.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_datectrl.cpp
+xrcdll_xh_dirpicker.o: $(srcdir)/src/xrc/xh_dirpicker.cpp $(XRCDLL_ODEP)
+ $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_dirpicker.cpp
+
xrcdll_xh_dlg.o: $(srcdir)/src/xrc/xh_dlg.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_dlg.cpp
xrcdll_xh_mdi.o: $(srcdir)/src/xrc/xh_mdi.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_mdi.cpp
+xrcdll_xh_filepicker.o: $(srcdir)/src/xrc/xh_filepicker.cpp $(XRCDLL_ODEP)
+ $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_filepicker.cpp
+
+xrcdll_xh_fontpicker.o: $(srcdir)/src/xrc/xh_fontpicker.cpp $(XRCDLL_ODEP)
+ $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_fontpicker.cpp
+
xrcdll_xh_gauge.o: $(srcdir)/src/xrc/xh_gauge.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_gauge.cpp
xrclib_xh_choicbk.o: $(srcdir)/src/xrc/xh_choicbk.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_choicbk.cpp
+xrclib_xh_clrpicker.o: $(srcdir)/src/xrc/xh_clrpicker.cpp $(XRCLIB_ODEP)
+ $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_clrpicker.cpp
+
xrclib_xh_combo.o: $(srcdir)/src/xrc/xh_combo.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_combo.cpp
xrclib_xh_datectrl.o: $(srcdir)/src/xrc/xh_datectrl.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_datectrl.cpp
+xrclib_xh_dirpicker.o: $(srcdir)/src/xrc/xh_dirpicker.cpp $(XRCLIB_ODEP)
+ $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_dirpicker.cpp
+
xrclib_xh_dlg.o: $(srcdir)/src/xrc/xh_dlg.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_dlg.cpp
xrclib_xh_mdi.o: $(srcdir)/src/xrc/xh_mdi.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_mdi.cpp
+xrclib_xh_filepicker.o: $(srcdir)/src/xrc/xh_filepicker.cpp $(XRCLIB_ODEP)
+ $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_filepicker.cpp
+
+xrclib_xh_fontpicker.o: $(srcdir)/src/xrc/xh_fontpicker.cpp $(XRCLIB_ODEP)
+ $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_fontpicker.cpp
+
xrclib_xh_gauge.o: $(srcdir)/src/xrc/xh_gauge.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_gauge.cpp
src/common/bookctrl.cpp
src/common/choiccmn.cpp
src/common/clipcmn.cpp
+ src/common/clrpickercmn.cpp
src/common/colourcmn.cpp
src/common/combocmn.cpp
src/common/cmdproc.cpp
src/common/effects.cpp
src/common/evtloopcmn.cpp
src/common/fddlgcmn.cpp
+ src/common/filepickercmn.cpp
+ src/common/fontpickercmn.cpp
src/common/fldlgcmn.cpp
src/common/fontcmn.cpp
src/common/fontenumcmn.cpp
src/common/menucmn.cpp
src/common/nbkbase.cpp
src/common/paper.cpp
+ src/common/pickerbase.cpp
src/common/popupcmn.cpp
src/common/prntbase.cpp
src/common/quantize.cpp
wx/caret.h
wx/choicebk.h
wx/clipbrd.h
+ wx/clrpicker.h
wx/cmdproc.h
wx/colordlg.h
wx/colour.h
wx/effects.h
wx/evtloop.h
wx/fdrepdlg.h
+ wx/filepicker.h
+ wx/fontpicker.h
wx/fmappriv.h
wx/font.h
wx/fontdlg.h
<!-- Generic implementations used by wxGTK: -->
src/generic/accel.cpp
src/generic/colrdlgg.cpp
+ src/generic/clrpickerg.cpp
src/generic/dirdlgg.cpp
src/generic/fdrepdlg.cpp
+ src/generic/fontpickerg.cpp
+ src/generic/filepickerg.cpp
src/generic/filedlgg.cpp
src/generic/imaglist.cpp
src/generic/listctrl.cpp
src/gtk/colordlg.cpp
src/gtk/combobox.cpp
src/gtk/control.cpp
+ src/gtk/clrpicker.cpp
src/gtk/dialog.cpp
+ src/gtk/fontpicker.cpp
+ src/gtk/filepicker.cpp
src/gtk/dirdlg.cpp
src/gtk/filedlg.cpp
src/gtk/fontdlg.cpp
</set>
<set var="GTK_HDR" hints="files">
wx/generic/colrdlgg.h
+ wx/generic/clrpickerg.h
wx/generic/dirdlgg.h
wx/generic/fdrepdlg.h
+ wx/generic/fontpickerg.h
+ wx/generic/filepickerg.h
wx/generic/listctrl.h
wx/generic/statusbr.h
wx/generic/tabg.h
wx/gtk/choice.h
wx/gtk/combobox.h
wx/gtk/control.h
+ wx/gtk/clrpicker.h
wx/gtk/dialog.h
wx/gtk/dirdlg.h
wx/gtk/filedlg.h
+ wx/gtk/fontpicker.h
+ wx/gtk/filepicker.h
wx/gtk/fontdlg.h
wx/gtk/frame.h
wx/gtk/gauge.h
</set>
<set var="MSW_SRC" hints="files">
+ src/generic/clrpickerg.cpp
+ src/generic/fontpickerg.cpp
+ src/generic/filepickerg.cpp
src/generic/statusbr.cpp
src/generic/prntdlgg.cpp
src/msw/accel.cpp
src/msw/treectrl.cpp
</set>
<set var="MSW_HDR" hints="files">
+ wx/generic/clrpicker.h
+ wx/generic/fontpicker.h
+ wx/generic/filepicker.h
wx/msw/accel.h
wx/msw/app.h
wx/msw/bitmap.h
src/xrc/xh_chckl.cpp
src/xrc/xh_choic.cpp
src/xrc/xh_choicbk.cpp
+ src/xrc/xh_clrpicker.cpp
src/xrc/xh_combo.cpp
src/xrc/xh_datectrl.cpp
+ src/xrc/xh_dirpicker.cpp
src/xrc/xh_dlg.cpp
src/xrc/xh_frame.cpp
src/xrc/xh_mdi.cpp
+ src/xrc/xh_filepicker.cpp
+ src/xrc/xh_fontpicker.cpp
src/xrc/xh_gauge.cpp
src/xrc/xh_gdctl.cpp
src/xrc/xh_grid.cpp
wx/xrc/xh_chckl.h
wx/xrc/xh_choic.h
wx/xrc/xh_choicbk.h
+ wx/xrc/xh_clrpicker.h
wx/xrc/xh_combo.h
wx/xrc/xh_datectrl.h
+ wx/xrc/xh_dirpicker.h
wx/xrc/xh_dlg.h
+ wx/xrc/xh_filepicker.h
+ wx/xrc/xh_fontpicker.h
wx/xrc/xh_frame.h
wx/xrc/xh_mdi.h
wx/xrc/xh_gauge.h
$(OBJS)\xrcdll_xh_chckl.obj \
$(OBJS)\xrcdll_xh_choic.obj \
$(OBJS)\xrcdll_xh_choicbk.obj \
+ $(OBJS)\xrcdll_xh_clrpicker.obj \
$(OBJS)\xrcdll_xh_combo.obj \
$(OBJS)\xrcdll_xh_datectrl.obj \
+ $(OBJS)\xrcdll_xh_dirpicker.obj \
$(OBJS)\xrcdll_xh_dlg.obj \
$(OBJS)\xrcdll_xh_frame.obj \
$(OBJS)\xrcdll_xh_mdi.obj \
+ $(OBJS)\xrcdll_xh_filepicker.obj \
+ $(OBJS)\xrcdll_xh_fontpicker.obj \
$(OBJS)\xrcdll_xh_gauge.obj \
$(OBJS)\xrcdll_xh_gdctl.obj \
$(OBJS)\xrcdll_xh_grid.obj \
$(OBJS)\xrclib_xh_chckl.obj \
$(OBJS)\xrclib_xh_choic.obj \
$(OBJS)\xrclib_xh_choicbk.obj \
+ $(OBJS)\xrclib_xh_clrpicker.obj \
$(OBJS)\xrclib_xh_combo.obj \
$(OBJS)\xrclib_xh_datectrl.obj \
+ $(OBJS)\xrclib_xh_dirpicker.obj \
$(OBJS)\xrclib_xh_dlg.obj \
$(OBJS)\xrclib_xh_frame.obj \
$(OBJS)\xrclib_xh_mdi.obj \
+ $(OBJS)\xrclib_xh_filepicker.obj \
+ $(OBJS)\xrclib_xh_fontpicker.obj \
$(OBJS)\xrclib_xh_gauge.obj \
$(OBJS)\xrclib_xh_gdctl.obj \
$(OBJS)\xrclib_xh_grid.obj \
$(OBJS)\monodll_xh_chckl.obj \
$(OBJS)\monodll_xh_choic.obj \
$(OBJS)\monodll_xh_choicbk.obj \
+ $(OBJS)\monodll_xh_clrpicker.obj \
$(OBJS)\monodll_xh_combo.obj \
$(OBJS)\monodll_xh_datectrl.obj \
+ $(OBJS)\monodll_xh_dirpicker.obj \
$(OBJS)\monodll_xh_dlg.obj \
$(OBJS)\monodll_xh_frame.obj \
$(OBJS)\monodll_xh_mdi.obj \
+ $(OBJS)\monodll_xh_filepicker.obj \
+ $(OBJS)\monodll_xh_fontpicker.obj \
$(OBJS)\monodll_xh_gauge.obj \
$(OBJS)\monodll_xh_gdctl.obj \
$(OBJS)\monodll_xh_grid.obj \
$(OBJS)\monodll_helpwin.obj \
$(OBJS)\monodll_automtn.obj \
$(OBJS)\monodll_uuid.obj \
+ $(OBJS)\monodll_clrpickerg.obj \
+ $(OBJS)\monodll_fontpickerg.obj \
+ $(OBJS)\monodll_filepickerg.obj \
$(OBJS)\monodll_statusbr.obj \
$(OBJS)\monodll_prntdlgg.obj \
$(OBJS)\monodll_accel.obj \
$(OBJS)\monodll_bookctrl.obj \
$(OBJS)\monodll_choiccmn.obj \
$(OBJS)\monodll_clipcmn.obj \
+ $(OBJS)\monodll_clrpickercmn.obj \
$(OBJS)\monodll_colourcmn.obj \
$(OBJS)\monodll_combocmn.obj \
$(OBJS)\monodll_cmdproc.obj \
$(OBJS)\monodll_effects.obj \
$(OBJS)\monodll_evtloopcmn.obj \
$(OBJS)\monodll_fddlgcmn.obj \
+ $(OBJS)\monodll_filepickercmn.obj \
+ $(OBJS)\monodll_fontpickercmn.obj \
$(OBJS)\monodll_fldlgcmn.obj \
$(OBJS)\monodll_fontcmn.obj \
$(OBJS)\monodll_fontenumcmn.obj \
$(OBJS)\monodll_menucmn.obj \
$(OBJS)\monodll_nbkbase.obj \
$(OBJS)\monodll_paper.obj \
+ $(OBJS)\monodll_pickerbase.obj \
$(OBJS)\monodll_popupcmn.obj \
$(OBJS)\monodll_prntbase.obj \
$(OBJS)\monodll_quantize.obj \
$(OBJS)\monodll_bookctrl.obj \
$(OBJS)\monodll_choiccmn.obj \
$(OBJS)\monodll_clipcmn.obj \
+ $(OBJS)\monodll_clrpickercmn.obj \
$(OBJS)\monodll_colourcmn.obj \
$(OBJS)\monodll_combocmn.obj \
$(OBJS)\monodll_cmdproc.obj \
$(OBJS)\monodll_effects.obj \
$(OBJS)\monodll_evtloopcmn.obj \
$(OBJS)\monodll_fddlgcmn.obj \
+ $(OBJS)\monodll_filepickercmn.obj \
+ $(OBJS)\monodll_fontpickercmn.obj \
$(OBJS)\monodll_fldlgcmn.obj \
$(OBJS)\monodll_fontcmn.obj \
$(OBJS)\monodll_fontenumcmn.obj \
$(OBJS)\monodll_menucmn.obj \
$(OBJS)\monodll_nbkbase.obj \
$(OBJS)\monodll_paper.obj \
+ $(OBJS)\monodll_pickerbase.obj \
$(OBJS)\monodll_popupcmn.obj \
$(OBJS)\monodll_prntbase.obj \
$(OBJS)\monodll_quantize.obj \
$(OBJS)\monolib_xh_chckl.obj \
$(OBJS)\monolib_xh_choic.obj \
$(OBJS)\monolib_xh_choicbk.obj \
+ $(OBJS)\monolib_xh_clrpicker.obj \
$(OBJS)\monolib_xh_combo.obj \
$(OBJS)\monolib_xh_datectrl.obj \
+ $(OBJS)\monolib_xh_dirpicker.obj \
$(OBJS)\monolib_xh_dlg.obj \
$(OBJS)\monolib_xh_frame.obj \
$(OBJS)\monolib_xh_mdi.obj \
+ $(OBJS)\monolib_xh_filepicker.obj \
+ $(OBJS)\monolib_xh_fontpicker.obj \
$(OBJS)\monolib_xh_gauge.obj \
$(OBJS)\monolib_xh_gdctl.obj \
$(OBJS)\monolib_xh_grid.obj \
$(OBJS)\monolib_helpwin.obj \
$(OBJS)\monolib_automtn.obj \
$(OBJS)\monolib_uuid.obj \
+ $(OBJS)\monolib_clrpickerg.obj \
+ $(OBJS)\monolib_fontpickerg.obj \
+ $(OBJS)\monolib_filepickerg.obj \
$(OBJS)\monolib_statusbr.obj \
$(OBJS)\monolib_prntdlgg.obj \
$(OBJS)\monolib_accel.obj \
$(OBJS)\monolib_bookctrl.obj \
$(OBJS)\monolib_choiccmn.obj \
$(OBJS)\monolib_clipcmn.obj \
+ $(OBJS)\monolib_clrpickercmn.obj \
$(OBJS)\monolib_colourcmn.obj \
$(OBJS)\monolib_combocmn.obj \
$(OBJS)\monolib_cmdproc.obj \
$(OBJS)\monolib_effects.obj \
$(OBJS)\monolib_evtloopcmn.obj \
$(OBJS)\monolib_fddlgcmn.obj \
+ $(OBJS)\monolib_filepickercmn.obj \
+ $(OBJS)\monolib_fontpickercmn.obj \
$(OBJS)\monolib_fldlgcmn.obj \
$(OBJS)\monolib_fontcmn.obj \
$(OBJS)\monolib_fontenumcmn.obj \
$(OBJS)\monolib_menucmn.obj \
$(OBJS)\monolib_nbkbase.obj \
$(OBJS)\monolib_paper.obj \
+ $(OBJS)\monolib_pickerbase.obj \
$(OBJS)\monolib_popupcmn.obj \
$(OBJS)\monolib_prntbase.obj \
$(OBJS)\monolib_quantize.obj \
$(OBJS)\monolib_bookctrl.obj \
$(OBJS)\monolib_choiccmn.obj \
$(OBJS)\monolib_clipcmn.obj \
+ $(OBJS)\monolib_clrpickercmn.obj \
$(OBJS)\monolib_colourcmn.obj \
$(OBJS)\monolib_combocmn.obj \
$(OBJS)\monolib_cmdproc.obj \
$(OBJS)\monolib_effects.obj \
$(OBJS)\monolib_evtloopcmn.obj \
$(OBJS)\monolib_fddlgcmn.obj \
+ $(OBJS)\monolib_filepickercmn.obj \
+ $(OBJS)\monolib_fontpickercmn.obj \
$(OBJS)\monolib_fldlgcmn.obj \
$(OBJS)\monolib_fontcmn.obj \
$(OBJS)\monolib_fontenumcmn.obj \
$(OBJS)\monolib_menucmn.obj \
$(OBJS)\monolib_nbkbase.obj \
$(OBJS)\monolib_paper.obj \
+ $(OBJS)\monolib_pickerbase.obj \
$(OBJS)\monolib_popupcmn.obj \
$(OBJS)\monolib_prntbase.obj \
$(OBJS)\monolib_quantize.obj \
$(OBJS)\coredll_helpwin.obj \
$(OBJS)\coredll_automtn.obj \
$(OBJS)\coredll_uuid.obj \
+ $(OBJS)\coredll_clrpickerg.obj \
+ $(OBJS)\coredll_fontpickerg.obj \
+ $(OBJS)\coredll_filepickerg.obj \
$(OBJS)\coredll_statusbr.obj \
$(OBJS)\coredll_prntdlgg.obj \
$(OBJS)\coredll_accel.obj \
$(OBJS)\coredll_bookctrl.obj \
$(OBJS)\coredll_choiccmn.obj \
$(OBJS)\coredll_clipcmn.obj \
+ $(OBJS)\coredll_clrpickercmn.obj \
$(OBJS)\coredll_colourcmn.obj \
$(OBJS)\coredll_combocmn.obj \
$(OBJS)\coredll_cmdproc.obj \
$(OBJS)\coredll_effects.obj \
$(OBJS)\coredll_evtloopcmn.obj \
$(OBJS)\coredll_fddlgcmn.obj \
+ $(OBJS)\coredll_filepickercmn.obj \
+ $(OBJS)\coredll_fontpickercmn.obj \
$(OBJS)\coredll_fldlgcmn.obj \
$(OBJS)\coredll_fontcmn.obj \
$(OBJS)\coredll_fontenumcmn.obj \
$(OBJS)\coredll_menucmn.obj \
$(OBJS)\coredll_nbkbase.obj \
$(OBJS)\coredll_paper.obj \
+ $(OBJS)\coredll_pickerbase.obj \
$(OBJS)\coredll_popupcmn.obj \
$(OBJS)\coredll_prntbase.obj \
$(OBJS)\coredll_quantize.obj \
$(OBJS)\coredll_bookctrl.obj \
$(OBJS)\coredll_choiccmn.obj \
$(OBJS)\coredll_clipcmn.obj \
+ $(OBJS)\coredll_clrpickercmn.obj \
$(OBJS)\coredll_colourcmn.obj \
$(OBJS)\coredll_combocmn.obj \
$(OBJS)\coredll_cmdproc.obj \
$(OBJS)\coredll_effects.obj \
$(OBJS)\coredll_evtloopcmn.obj \
$(OBJS)\coredll_fddlgcmn.obj \
+ $(OBJS)\coredll_filepickercmn.obj \
+ $(OBJS)\coredll_fontpickercmn.obj \
$(OBJS)\coredll_fldlgcmn.obj \
$(OBJS)\coredll_fontcmn.obj \
$(OBJS)\coredll_fontenumcmn.obj \
$(OBJS)\coredll_menucmn.obj \
$(OBJS)\coredll_nbkbase.obj \
$(OBJS)\coredll_paper.obj \
+ $(OBJS)\coredll_pickerbase.obj \
$(OBJS)\coredll_popupcmn.obj \
$(OBJS)\coredll_prntbase.obj \
$(OBJS)\coredll_quantize.obj \
$(OBJS)\corelib_helpwin.obj \
$(OBJS)\corelib_automtn.obj \
$(OBJS)\corelib_uuid.obj \
+ $(OBJS)\corelib_clrpickerg.obj \
+ $(OBJS)\corelib_fontpickerg.obj \
+ $(OBJS)\corelib_filepickerg.obj \
$(OBJS)\corelib_statusbr.obj \
$(OBJS)\corelib_prntdlgg.obj \
$(OBJS)\corelib_accel.obj \
$(OBJS)\corelib_bookctrl.obj \
$(OBJS)\corelib_choiccmn.obj \
$(OBJS)\corelib_clipcmn.obj \
+ $(OBJS)\corelib_clrpickercmn.obj \
$(OBJS)\corelib_colourcmn.obj \
$(OBJS)\corelib_combocmn.obj \
$(OBJS)\corelib_cmdproc.obj \
$(OBJS)\corelib_effects.obj \
$(OBJS)\corelib_evtloopcmn.obj \
$(OBJS)\corelib_fddlgcmn.obj \
+ $(OBJS)\corelib_filepickercmn.obj \
+ $(OBJS)\corelib_fontpickercmn.obj \
$(OBJS)\corelib_fldlgcmn.obj \
$(OBJS)\corelib_fontcmn.obj \
$(OBJS)\corelib_fontenumcmn.obj \
$(OBJS)\corelib_menucmn.obj \
$(OBJS)\corelib_nbkbase.obj \
$(OBJS)\corelib_paper.obj \
+ $(OBJS)\corelib_pickerbase.obj \
$(OBJS)\corelib_popupcmn.obj \
$(OBJS)\corelib_prntbase.obj \
$(OBJS)\corelib_quantize.obj \
$(OBJS)\corelib_bookctrl.obj \
$(OBJS)\corelib_choiccmn.obj \
$(OBJS)\corelib_clipcmn.obj \
+ $(OBJS)\corelib_clrpickercmn.obj \
$(OBJS)\corelib_colourcmn.obj \
$(OBJS)\corelib_combocmn.obj \
$(OBJS)\corelib_cmdproc.obj \
$(OBJS)\corelib_effects.obj \
$(OBJS)\corelib_evtloopcmn.obj \
$(OBJS)\corelib_fddlgcmn.obj \
+ $(OBJS)\corelib_filepickercmn.obj \
+ $(OBJS)\corelib_fontpickercmn.obj \
$(OBJS)\corelib_fldlgcmn.obj \
$(OBJS)\corelib_fontcmn.obj \
$(OBJS)\corelib_fontenumcmn.obj \
$(OBJS)\corelib_menucmn.obj \
$(OBJS)\corelib_nbkbase.obj \
$(OBJS)\corelib_paper.obj \
+ $(OBJS)\corelib_pickerbase.obj \
$(OBJS)\corelib_popupcmn.obj \
$(OBJS)\corelib_prntbase.obj \
$(OBJS)\corelib_quantize.obj \
$(OBJS)\monodll_urlmsw.obj: ..\..\src\msw\urlmsw.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_clrpickerg.obj: ..\..\src\generic\clrpickerg.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
+$(OBJS)\monodll_fontpickerg.obj: ..\..\src\generic\fontpickerg.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
+$(OBJS)\monodll_filepickerg.obj: ..\..\src\generic\filepickerg.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_colordlg.obj: ..\..\src\msw\colordlg.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_choicbk.obj: ..\..\src\xrc\xh_choicbk.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_xh_clrpicker.obj: ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_xh_combo.obj: ..\..\src\xrc\xh_combo.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_datectrl.obj: ..\..\src\xrc\xh_datectrl.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_xh_dirpicker.obj: ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_xh_dlg.obj: ..\..\src\xrc\xh_dlg.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_mdi.obj: ..\..\src\xrc\xh_mdi.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_xh_filepicker.obj: ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
+$(OBJS)\monodll_xh_fontpicker.obj: ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_xh_gauge.obj: ..\..\src\xrc\xh_gauge.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monodll_clrpickercmn.obj: ..\..\src\common\clrpickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_colourcmn.obj: ..\..\src\common\colourcmn.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monodll_filepickercmn.obj: ..\..\src\common\filepickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+!endif
+
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monodll_fontpickercmn.obj: ..\..\src\common\fontpickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_fldlgcmn.obj: ..\..\src\common\fldlgcmn.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monodll_pickerbase.obj: ..\..\src\common\pickerbase.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_popupcmn.obj: ..\..\src\common\popupcmn.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monolib_urlmsw.obj: ..\..\src\msw\urlmsw.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_clrpickerg.obj: ..\..\src\generic\clrpickerg.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
+$(OBJS)\monolib_fontpickerg.obj: ..\..\src\generic\fontpickerg.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
+$(OBJS)\monolib_filepickerg.obj: ..\..\src\generic\filepickerg.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_colordlg.obj: ..\..\src\msw\colordlg.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_choicbk.obj: ..\..\src\xrc\xh_choicbk.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_xh_clrpicker.obj: ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_xh_combo.obj: ..\..\src\xrc\xh_combo.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_datectrl.obj: ..\..\src\xrc\xh_datectrl.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_xh_dirpicker.obj: ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_xh_dlg.obj: ..\..\src\xrc\xh_dlg.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_mdi.obj: ..\..\src\xrc\xh_mdi.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_xh_filepicker.obj: ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
+$(OBJS)\monolib_xh_fontpicker.obj: ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_xh_gauge.obj: ..\..\src\xrc\xh_gauge.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monolib_clrpickercmn.obj: ..\..\src\common\clrpickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_colourcmn.obj: ..\..\src\common\colourcmn.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monolib_filepickercmn.obj: ..\..\src\common\filepickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+!endif
+
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monolib_fontpickercmn.obj: ..\..\src\common\fontpickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_fldlgcmn.obj: ..\..\src\common\fldlgcmn.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monolib_pickerbase.obj: ..\..\src\common\pickerbase.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_popupcmn.obj: ..\..\src\common\popupcmn.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\coredll_volume.obj: ..\..\src\msw\volume.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
+$(OBJS)\coredll_clrpickerg.obj: ..\..\src\generic\clrpickerg.cpp
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
+
+$(OBJS)\coredll_fontpickerg.obj: ..\..\src\generic\fontpickerg.cpp
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
+
+$(OBJS)\coredll_filepickerg.obj: ..\..\src\generic\filepickerg.cpp
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
+
$(OBJS)\coredll_colordlg.obj: ..\..\src\msw\colordlg.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\coredll_clrpickercmn.obj: ..\..\src\common\clrpickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_colourcmn.obj: ..\..\src\common\colourcmn.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\coredll_filepickercmn.obj: ..\..\src\common\filepickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
+!endif
+
+!if "$(USE_GUI)" == "1"
+$(OBJS)\coredll_fontpickercmn.obj: ..\..\src\common\fontpickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_fldlgcmn.obj: ..\..\src\common\fldlgcmn.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\coredll_pickerbase.obj: ..\..\src\common\pickerbase.cpp
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_popupcmn.obj: ..\..\src\common\popupcmn.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
$(OBJS)\corelib_volume.obj: ..\..\src\msw\volume.cpp
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
+$(OBJS)\corelib_clrpickerg.obj: ..\..\src\generic\clrpickerg.cpp
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
+
+$(OBJS)\corelib_fontpickerg.obj: ..\..\src\generic\fontpickerg.cpp
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
+
+$(OBJS)\corelib_filepickerg.obj: ..\..\src\generic\filepickerg.cpp
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
+
$(OBJS)\corelib_colordlg.obj: ..\..\src\msw\colordlg.cpp
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\corelib_clrpickercmn.obj: ..\..\src\common\clrpickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_colourcmn.obj: ..\..\src\common\colourcmn.cpp
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\corelib_filepickercmn.obj: ..\..\src\common\filepickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
+!endif
+
+!if "$(USE_GUI)" == "1"
+$(OBJS)\corelib_fontpickercmn.obj: ..\..\src\common\fontpickercmn.cpp
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_fldlgcmn.obj: ..\..\src\common\fldlgcmn.cpp
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\corelib_pickerbase.obj: ..\..\src\common\pickerbase.cpp
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_popupcmn.obj: ..\..\src\common\popupcmn.cpp
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_choicbk.obj: ..\..\src\xrc\xh_choicbk.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
+$(OBJS)\xrcdll_xh_clrpicker.obj: ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
+
$(OBJS)\xrcdll_xh_combo.obj: ..\..\src\xrc\xh_combo.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_datectrl.obj: ..\..\src\xrc\xh_datectrl.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
+$(OBJS)\xrcdll_xh_dirpicker.obj: ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
+
$(OBJS)\xrcdll_xh_dlg.obj: ..\..\src\xrc\xh_dlg.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_mdi.obj: ..\..\src\xrc\xh_mdi.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
+$(OBJS)\xrcdll_xh_filepicker.obj: ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
+
+$(OBJS)\xrcdll_xh_fontpicker.obj: ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
+
$(OBJS)\xrcdll_xh_gauge.obj: ..\..\src\xrc\xh_gauge.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrclib_xh_choicbk.obj: ..\..\src\xrc\xh_choicbk.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
+$(OBJS)\xrclib_xh_clrpicker.obj: ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
+
$(OBJS)\xrclib_xh_combo.obj: ..\..\src\xrc\xh_combo.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\xrclib_xh_datectrl.obj: ..\..\src\xrc\xh_datectrl.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
+$(OBJS)\xrclib_xh_dirpicker.obj: ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
+
$(OBJS)\xrclib_xh_dlg.obj: ..\..\src\xrc\xh_dlg.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\xrclib_xh_mdi.obj: ..\..\src\xrc\xh_mdi.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
+$(OBJS)\xrclib_xh_filepicker.obj: ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
+
+$(OBJS)\xrclib_xh_fontpicker.obj: ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
+
$(OBJS)\xrclib_xh_gauge.obj: ..\..\src\xrc\xh_gauge.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_chckl.o \
$(OBJS)\xrcdll_xh_choic.o \
$(OBJS)\xrcdll_xh_choicbk.o \
+ $(OBJS)\xrcdll_xh_clrpicker.o \
$(OBJS)\xrcdll_xh_combo.o \
$(OBJS)\xrcdll_xh_datectrl.o \
+ $(OBJS)\xrcdll_xh_dirpicker.o \
$(OBJS)\xrcdll_xh_dlg.o \
$(OBJS)\xrcdll_xh_frame.o \
$(OBJS)\xrcdll_xh_mdi.o \
+ $(OBJS)\xrcdll_xh_filepicker.o \
+ $(OBJS)\xrcdll_xh_fontpicker.o \
$(OBJS)\xrcdll_xh_gauge.o \
$(OBJS)\xrcdll_xh_gdctl.o \
$(OBJS)\xrcdll_xh_grid.o \
$(OBJS)\xrclib_xh_chckl.o \
$(OBJS)\xrclib_xh_choic.o \
$(OBJS)\xrclib_xh_choicbk.o \
+ $(OBJS)\xrclib_xh_clrpicker.o \
$(OBJS)\xrclib_xh_combo.o \
$(OBJS)\xrclib_xh_datectrl.o \
+ $(OBJS)\xrclib_xh_dirpicker.o \
$(OBJS)\xrclib_xh_dlg.o \
$(OBJS)\xrclib_xh_frame.o \
$(OBJS)\xrclib_xh_mdi.o \
+ $(OBJS)\xrclib_xh_filepicker.o \
+ $(OBJS)\xrclib_xh_fontpicker.o \
$(OBJS)\xrclib_xh_gauge.o \
$(OBJS)\xrclib_xh_gdctl.o \
$(OBJS)\xrclib_xh_grid.o \
$(OBJS)\monodll_xh_chckl.o \
$(OBJS)\monodll_xh_choic.o \
$(OBJS)\monodll_xh_choicbk.o \
+ $(OBJS)\monodll_xh_clrpicker.o \
$(OBJS)\monodll_xh_combo.o \
$(OBJS)\monodll_xh_datectrl.o \
+ $(OBJS)\monodll_xh_dirpicker.o \
$(OBJS)\monodll_xh_dlg.o \
$(OBJS)\monodll_xh_frame.o \
$(OBJS)\monodll_xh_mdi.o \
+ $(OBJS)\monodll_xh_filepicker.o \
+ $(OBJS)\monodll_xh_fontpicker.o \
$(OBJS)\monodll_xh_gauge.o \
$(OBJS)\monodll_xh_gdctl.o \
$(OBJS)\monodll_xh_grid.o \
$(OBJS)\monodll_helpwin.o \
$(OBJS)\monodll_automtn.o \
$(OBJS)\monodll_uuid.o \
+ $(OBJS)\monodll_clrpickerg.o \
+ $(OBJS)\monodll_fontpickerg.o \
+ $(OBJS)\monodll_filepickerg.o \
$(OBJS)\monodll_statusbr.o \
$(OBJS)\monodll_prntdlgg.o \
$(OBJS)\monodll_accel.o \
$(OBJS)\monodll_bookctrl.o \
$(OBJS)\monodll_choiccmn.o \
$(OBJS)\monodll_clipcmn.o \
+ $(OBJS)\monodll_clrpickercmn.o \
$(OBJS)\monodll_colourcmn.o \
$(OBJS)\monodll_combocmn.o \
$(OBJS)\monodll_cmdproc.o \
$(OBJS)\monodll_effects.o \
$(OBJS)\monodll_evtloopcmn.o \
$(OBJS)\monodll_fddlgcmn.o \
+ $(OBJS)\monodll_filepickercmn.o \
+ $(OBJS)\monodll_fontpickercmn.o \
$(OBJS)\monodll_fldlgcmn.o \
$(OBJS)\monodll_fontcmn.o \
$(OBJS)\monodll_fontenumcmn.o \
$(OBJS)\monodll_menucmn.o \
$(OBJS)\monodll_nbkbase.o \
$(OBJS)\monodll_paper.o \
+ $(OBJS)\monodll_pickerbase.o \
$(OBJS)\monodll_popupcmn.o \
$(OBJS)\monodll_prntbase.o \
$(OBJS)\monodll_quantize.o \
$(OBJS)\monodll_bookctrl.o \
$(OBJS)\monodll_choiccmn.o \
$(OBJS)\monodll_clipcmn.o \
+ $(OBJS)\monodll_clrpickercmn.o \
$(OBJS)\monodll_colourcmn.o \
$(OBJS)\monodll_combocmn.o \
$(OBJS)\monodll_cmdproc.o \
$(OBJS)\monodll_effects.o \
$(OBJS)\monodll_evtloopcmn.o \
$(OBJS)\monodll_fddlgcmn.o \
+ $(OBJS)\monodll_filepickercmn.o \
+ $(OBJS)\monodll_fontpickercmn.o \
$(OBJS)\monodll_fldlgcmn.o \
$(OBJS)\monodll_fontcmn.o \
$(OBJS)\monodll_fontenumcmn.o \
$(OBJS)\monodll_menucmn.o \
$(OBJS)\monodll_nbkbase.o \
$(OBJS)\monodll_paper.o \
+ $(OBJS)\monodll_pickerbase.o \
$(OBJS)\monodll_popupcmn.o \
$(OBJS)\monodll_prntbase.o \
$(OBJS)\monodll_quantize.o \
$(OBJS)\monolib_xh_chckl.o \
$(OBJS)\monolib_xh_choic.o \
$(OBJS)\monolib_xh_choicbk.o \
+ $(OBJS)\monolib_xh_clrpicker.o \
$(OBJS)\monolib_xh_combo.o \
$(OBJS)\monolib_xh_datectrl.o \
+ $(OBJS)\monolib_xh_dirpicker.o \
$(OBJS)\monolib_xh_dlg.o \
$(OBJS)\monolib_xh_frame.o \
$(OBJS)\monolib_xh_mdi.o \
+ $(OBJS)\monolib_xh_filepicker.o \
+ $(OBJS)\monolib_xh_fontpicker.o \
$(OBJS)\monolib_xh_gauge.o \
$(OBJS)\monolib_xh_gdctl.o \
$(OBJS)\monolib_xh_grid.o \
$(OBJS)\monolib_helpwin.o \
$(OBJS)\monolib_automtn.o \
$(OBJS)\monolib_uuid.o \
+ $(OBJS)\monolib_clrpickerg.o \
+ $(OBJS)\monolib_fontpickerg.o \
+ $(OBJS)\monolib_filepickerg.o \
$(OBJS)\monolib_statusbr.o \
$(OBJS)\monolib_prntdlgg.o \
$(OBJS)\monolib_accel.o \
$(OBJS)\monolib_bookctrl.o \
$(OBJS)\monolib_choiccmn.o \
$(OBJS)\monolib_clipcmn.o \
+ $(OBJS)\monolib_clrpickercmn.o \
$(OBJS)\monolib_colourcmn.o \
$(OBJS)\monolib_combocmn.o \
$(OBJS)\monolib_cmdproc.o \
$(OBJS)\monolib_effects.o \
$(OBJS)\monolib_evtloopcmn.o \
$(OBJS)\monolib_fddlgcmn.o \
+ $(OBJS)\monolib_filepickercmn.o \
+ $(OBJS)\monolib_fontpickercmn.o \
$(OBJS)\monolib_fldlgcmn.o \
$(OBJS)\monolib_fontcmn.o \
$(OBJS)\monolib_fontenumcmn.o \
$(OBJS)\monolib_menucmn.o \
$(OBJS)\monolib_nbkbase.o \
$(OBJS)\monolib_paper.o \
+ $(OBJS)\monolib_pickerbase.o \
$(OBJS)\monolib_popupcmn.o \
$(OBJS)\monolib_prntbase.o \
$(OBJS)\monolib_quantize.o \
$(OBJS)\monolib_bookctrl.o \
$(OBJS)\monolib_choiccmn.o \
$(OBJS)\monolib_clipcmn.o \
+ $(OBJS)\monolib_clrpickercmn.o \
$(OBJS)\monolib_colourcmn.o \
$(OBJS)\monolib_combocmn.o \
$(OBJS)\monolib_cmdproc.o \
$(OBJS)\monolib_effects.o \
$(OBJS)\monolib_evtloopcmn.o \
$(OBJS)\monolib_fddlgcmn.o \
+ $(OBJS)\monolib_filepickercmn.o \
+ $(OBJS)\monolib_fontpickercmn.o \
$(OBJS)\monolib_fldlgcmn.o \
$(OBJS)\monolib_fontcmn.o \
$(OBJS)\monolib_fontenumcmn.o \
$(OBJS)\monolib_menucmn.o \
$(OBJS)\monolib_nbkbase.o \
$(OBJS)\monolib_paper.o \
+ $(OBJS)\monolib_pickerbase.o \
$(OBJS)\monolib_popupcmn.o \
$(OBJS)\monolib_prntbase.o \
$(OBJS)\monolib_quantize.o \
$(OBJS)\coredll_helpwin.o \
$(OBJS)\coredll_automtn.o \
$(OBJS)\coredll_uuid.o \
+ $(OBJS)\coredll_clrpickerg.o \
+ $(OBJS)\coredll_fontpickerg.o \
+ $(OBJS)\coredll_filepickerg.o \
$(OBJS)\coredll_statusbr.o \
$(OBJS)\coredll_prntdlgg.o \
$(OBJS)\coredll_accel.o \
$(OBJS)\coredll_bookctrl.o \
$(OBJS)\coredll_choiccmn.o \
$(OBJS)\coredll_clipcmn.o \
+ $(OBJS)\coredll_clrpickercmn.o \
$(OBJS)\coredll_colourcmn.o \
$(OBJS)\coredll_combocmn.o \
$(OBJS)\coredll_cmdproc.o \
$(OBJS)\coredll_effects.o \
$(OBJS)\coredll_evtloopcmn.o \
$(OBJS)\coredll_fddlgcmn.o \
+ $(OBJS)\coredll_filepickercmn.o \
+ $(OBJS)\coredll_fontpickercmn.o \
$(OBJS)\coredll_fldlgcmn.o \
$(OBJS)\coredll_fontcmn.o \
$(OBJS)\coredll_fontenumcmn.o \
$(OBJS)\coredll_menucmn.o \
$(OBJS)\coredll_nbkbase.o \
$(OBJS)\coredll_paper.o \
+ $(OBJS)\coredll_pickerbase.o \
$(OBJS)\coredll_popupcmn.o \
$(OBJS)\coredll_prntbase.o \
$(OBJS)\coredll_quantize.o \
$(OBJS)\coredll_bookctrl.o \
$(OBJS)\coredll_choiccmn.o \
$(OBJS)\coredll_clipcmn.o \
+ $(OBJS)\coredll_clrpickercmn.o \
$(OBJS)\coredll_colourcmn.o \
$(OBJS)\coredll_combocmn.o \
$(OBJS)\coredll_cmdproc.o \
$(OBJS)\coredll_effects.o \
$(OBJS)\coredll_evtloopcmn.o \
$(OBJS)\coredll_fddlgcmn.o \
+ $(OBJS)\coredll_filepickercmn.o \
+ $(OBJS)\coredll_fontpickercmn.o \
$(OBJS)\coredll_fldlgcmn.o \
$(OBJS)\coredll_fontcmn.o \
$(OBJS)\coredll_fontenumcmn.o \
$(OBJS)\coredll_menucmn.o \
$(OBJS)\coredll_nbkbase.o \
$(OBJS)\coredll_paper.o \
+ $(OBJS)\coredll_pickerbase.o \
$(OBJS)\coredll_popupcmn.o \
$(OBJS)\coredll_prntbase.o \
$(OBJS)\coredll_quantize.o \
$(OBJS)\corelib_helpwin.o \
$(OBJS)\corelib_automtn.o \
$(OBJS)\corelib_uuid.o \
+ $(OBJS)\corelib_clrpickerg.o \
+ $(OBJS)\corelib_fontpickerg.o \
+ $(OBJS)\corelib_filepickerg.o \
$(OBJS)\corelib_statusbr.o \
$(OBJS)\corelib_prntdlgg.o \
$(OBJS)\corelib_accel.o \
$(OBJS)\corelib_bookctrl.o \
$(OBJS)\corelib_choiccmn.o \
$(OBJS)\corelib_clipcmn.o \
+ $(OBJS)\corelib_clrpickercmn.o \
$(OBJS)\corelib_colourcmn.o \
$(OBJS)\corelib_combocmn.o \
$(OBJS)\corelib_cmdproc.o \
$(OBJS)\corelib_effects.o \
$(OBJS)\corelib_evtloopcmn.o \
$(OBJS)\corelib_fddlgcmn.o \
+ $(OBJS)\corelib_filepickercmn.o \
+ $(OBJS)\corelib_fontpickercmn.o \
$(OBJS)\corelib_fldlgcmn.o \
$(OBJS)\corelib_fontcmn.o \
$(OBJS)\corelib_fontenumcmn.o \
$(OBJS)\corelib_menucmn.o \
$(OBJS)\corelib_nbkbase.o \
$(OBJS)\corelib_paper.o \
+ $(OBJS)\corelib_pickerbase.o \
$(OBJS)\corelib_popupcmn.o \
$(OBJS)\corelib_prntbase.o \
$(OBJS)\corelib_quantize.o \
$(OBJS)\corelib_bookctrl.o \
$(OBJS)\corelib_choiccmn.o \
$(OBJS)\corelib_clipcmn.o \
+ $(OBJS)\corelib_clrpickercmn.o \
$(OBJS)\corelib_colourcmn.o \
$(OBJS)\corelib_combocmn.o \
$(OBJS)\corelib_cmdproc.o \
$(OBJS)\corelib_effects.o \
$(OBJS)\corelib_evtloopcmn.o \
$(OBJS)\corelib_fddlgcmn.o \
+ $(OBJS)\corelib_filepickercmn.o \
+ $(OBJS)\corelib_fontpickercmn.o \
$(OBJS)\corelib_fldlgcmn.o \
$(OBJS)\corelib_fontcmn.o \
$(OBJS)\corelib_fontenumcmn.o \
$(OBJS)\corelib_menucmn.o \
$(OBJS)\corelib_nbkbase.o \
$(OBJS)\corelib_paper.o \
+ $(OBJS)\corelib_pickerbase.o \
$(OBJS)\corelib_popupcmn.o \
$(OBJS)\corelib_prntbase.o \
$(OBJS)\corelib_quantize.o \
$(OBJS)\monodll_urlmsw.o: ../../src/msw/urlmsw.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monodll_clrpickerg.o: ../../src/generic/clrpickerg.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\monodll_fontpickerg.o: ../../src/generic/fontpickerg.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\monodll_filepickerg.o: ../../src/generic/filepickerg.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monodll_colordlg.o: ../../src/msw/colordlg.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monodll_xh_choicbk.o: ../../src/xrc/xh_choicbk.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monodll_xh_clrpicker.o: ../../src/xrc/xh_clrpicker.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monodll_xh_combo.o: ../../src/xrc/xh_combo.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monodll_xh_datectrl.o: ../../src/xrc/xh_datectrl.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monodll_xh_dirpicker.o: ../../src/xrc/xh_dirpicker.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monodll_xh_dlg.o: ../../src/xrc/xh_dlg.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monodll_xh_mdi.o: ../../src/xrc/xh_mdi.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monodll_xh_filepicker.o: ../../src/xrc/xh_filepicker.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\monodll_xh_fontpicker.o: ../../src/xrc/xh_fontpicker.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monodll_xh_gauge.o: ../../src/xrc/xh_gauge.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\monodll_clrpickercmn.o: ../../src/common/clrpickercmn.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\monodll_colourcmn.o: ../../src/common/colourcmn.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\monodll_filepickercmn.o: ../../src/common/filepickercmn.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
+ifeq ($(USE_GUI),1)
+$(OBJS)\monodll_fontpickercmn.o: ../../src/common/fontpickercmn.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\monodll_fldlgcmn.o: ../../src/common/fldlgcmn.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\monodll_pickerbase.o: ../../src/common/pickerbase.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\monodll_popupcmn.o: ../../src/common/popupcmn.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_urlmsw.o: ../../src/msw/urlmsw.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monolib_clrpickerg.o: ../../src/generic/clrpickerg.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\monolib_fontpickerg.o: ../../src/generic/fontpickerg.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\monolib_filepickerg.o: ../../src/generic/filepickerg.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monolib_colordlg.o: ../../src/msw/colordlg.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_xh_choicbk.o: ../../src/xrc/xh_choicbk.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monolib_xh_clrpicker.o: ../../src/xrc/xh_clrpicker.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monolib_xh_combo.o: ../../src/xrc/xh_combo.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_xh_datectrl.o: ../../src/xrc/xh_datectrl.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monolib_xh_dirpicker.o: ../../src/xrc/xh_dirpicker.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monolib_xh_dlg.o: ../../src/xrc/xh_dlg.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_xh_mdi.o: ../../src/xrc/xh_mdi.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monolib_xh_filepicker.o: ../../src/xrc/xh_filepicker.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\monolib_xh_fontpicker.o: ../../src/xrc/xh_fontpicker.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monolib_xh_gauge.o: ../../src/xrc/xh_gauge.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\monolib_clrpickercmn.o: ../../src/common/clrpickercmn.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\monolib_colourcmn.o: ../../src/common/colourcmn.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\monolib_filepickercmn.o: ../../src/common/filepickercmn.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
+ifeq ($(USE_GUI),1)
+$(OBJS)\monolib_fontpickercmn.o: ../../src/common/fontpickercmn.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\monolib_fldlgcmn.o: ../../src/common/fldlgcmn.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\monolib_pickerbase.o: ../../src/common/pickerbase.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\monolib_popupcmn.o: ../../src/common/popupcmn.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\coredll_volume.o: ../../src/msw/volume.cpp
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\coredll_clrpickerg.o: ../../src/generic/clrpickerg.cpp
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\coredll_fontpickerg.o: ../../src/generic/fontpickerg.cpp
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\coredll_filepickerg.o: ../../src/generic/filepickerg.cpp
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\coredll_colordlg.o: ../../src/msw/colordlg.cpp
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\coredll_clrpickercmn.o: ../../src/common/clrpickercmn.cpp
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\coredll_colourcmn.o: ../../src/common/colourcmn.cpp
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\coredll_filepickercmn.o: ../../src/common/filepickercmn.cpp
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
+ifeq ($(USE_GUI),1)
+$(OBJS)\coredll_fontpickercmn.o: ../../src/common/fontpickercmn.cpp
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\coredll_fldlgcmn.o: ../../src/common/fldlgcmn.cpp
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\coredll_pickerbase.o: ../../src/common/pickerbase.cpp
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\coredll_popupcmn.o: ../../src/common/popupcmn.cpp
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\corelib_volume.o: ../../src/msw/volume.cpp
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\corelib_clrpickerg.o: ../../src/generic/clrpickerg.cpp
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\corelib_fontpickerg.o: ../../src/generic/fontpickerg.cpp
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\corelib_filepickerg.o: ../../src/generic/filepickerg.cpp
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\corelib_colordlg.o: ../../src/msw/colordlg.cpp
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\corelib_clrpickercmn.o: ../../src/common/clrpickercmn.cpp
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\corelib_colourcmn.o: ../../src/common/colourcmn.cpp
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\corelib_filepickercmn.o: ../../src/common/filepickercmn.cpp
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
+ifeq ($(USE_GUI),1)
+$(OBJS)\corelib_fontpickercmn.o: ../../src/common/fontpickercmn.cpp
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\corelib_fldlgcmn.o: ../../src/common/fldlgcmn.cpp
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
endif
+ifeq ($(USE_GUI),1)
+$(OBJS)\corelib_pickerbase.o: ../../src/common/pickerbase.cpp
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
+endif
+
ifeq ($(USE_GUI),1)
$(OBJS)\corelib_popupcmn.o: ../../src/common/popupcmn.cpp
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrcdll_xh_choicbk.o: ../../src/xrc/xh_choicbk.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\xrcdll_xh_clrpicker.o: ../../src/xrc/xh_clrpicker.cpp
+ $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\xrcdll_xh_combo.o: ../../src/xrc/xh_combo.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrcdll_xh_datectrl.o: ../../src/xrc/xh_datectrl.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\xrcdll_xh_dirpicker.o: ../../src/xrc/xh_dirpicker.cpp
+ $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\xrcdll_xh_dlg.o: ../../src/xrc/xh_dlg.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrcdll_xh_mdi.o: ../../src/xrc/xh_mdi.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\xrcdll_xh_filepicker.o: ../../src/xrc/xh_filepicker.cpp
+ $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\xrcdll_xh_fontpicker.o: ../../src/xrc/xh_fontpicker.cpp
+ $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\xrcdll_xh_gauge.o: ../../src/xrc/xh_gauge.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrclib_xh_choicbk.o: ../../src/xrc/xh_choicbk.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\xrclib_xh_clrpicker.o: ../../src/xrc/xh_clrpicker.cpp
+ $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\xrclib_xh_combo.o: ../../src/xrc/xh_combo.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrclib_xh_datectrl.o: ../../src/xrc/xh_datectrl.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\xrclib_xh_dirpicker.o: ../../src/xrc/xh_dirpicker.cpp
+ $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\xrclib_xh_dlg.o: ../../src/xrc/xh_dlg.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrclib_xh_mdi.o: ../../src/xrc/xh_mdi.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\xrclib_xh_filepicker.o: ../../src/xrc/xh_filepicker.cpp
+ $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
+
+$(OBJS)\xrclib_xh_fontpicker.o: ../../src/xrc/xh_fontpicker.cpp
+ $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\xrclib_xh_gauge.o: ../../src/xrc/xh_gauge.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrcdll_xh_chckl.obj \
$(OBJS)\xrcdll_xh_choic.obj \
$(OBJS)\xrcdll_xh_choicbk.obj \
+ $(OBJS)\xrcdll_xh_clrpicker.obj \
$(OBJS)\xrcdll_xh_combo.obj \
$(OBJS)\xrcdll_xh_datectrl.obj \
+ $(OBJS)\xrcdll_xh_dirpicker.obj \
$(OBJS)\xrcdll_xh_dlg.obj \
$(OBJS)\xrcdll_xh_frame.obj \
$(OBJS)\xrcdll_xh_mdi.obj \
+ $(OBJS)\xrcdll_xh_filepicker.obj \
+ $(OBJS)\xrcdll_xh_fontpicker.obj \
$(OBJS)\xrcdll_xh_gauge.obj \
$(OBJS)\xrcdll_xh_gdctl.obj \
$(OBJS)\xrcdll_xh_grid.obj \
$(OBJS)\xrclib_xh_chckl.obj \
$(OBJS)\xrclib_xh_choic.obj \
$(OBJS)\xrclib_xh_choicbk.obj \
+ $(OBJS)\xrclib_xh_clrpicker.obj \
$(OBJS)\xrclib_xh_combo.obj \
$(OBJS)\xrclib_xh_datectrl.obj \
+ $(OBJS)\xrclib_xh_dirpicker.obj \
$(OBJS)\xrclib_xh_dlg.obj \
$(OBJS)\xrclib_xh_frame.obj \
$(OBJS)\xrclib_xh_mdi.obj \
+ $(OBJS)\xrclib_xh_filepicker.obj \
+ $(OBJS)\xrclib_xh_fontpicker.obj \
$(OBJS)\xrclib_xh_gauge.obj \
$(OBJS)\xrclib_xh_gdctl.obj \
$(OBJS)\xrclib_xh_grid.obj \
$(OBJS)\monodll_xh_chckl.obj \
$(OBJS)\monodll_xh_choic.obj \
$(OBJS)\monodll_xh_choicbk.obj \
+ $(OBJS)\monodll_xh_clrpicker.obj \
$(OBJS)\monodll_xh_combo.obj \
$(OBJS)\monodll_xh_datectrl.obj \
+ $(OBJS)\monodll_xh_dirpicker.obj \
$(OBJS)\monodll_xh_dlg.obj \
$(OBJS)\monodll_xh_frame.obj \
$(OBJS)\monodll_xh_mdi.obj \
+ $(OBJS)\monodll_xh_filepicker.obj \
+ $(OBJS)\monodll_xh_fontpicker.obj \
$(OBJS)\monodll_xh_gauge.obj \
$(OBJS)\monodll_xh_gdctl.obj \
$(OBJS)\monodll_xh_grid.obj \
$(OBJS)\monodll_helpwin.obj \
$(OBJS)\monodll_automtn.obj \
$(OBJS)\monodll_uuid.obj \
+ $(OBJS)\monodll_clrpickerg.obj \
+ $(OBJS)\monodll_fontpickerg.obj \
+ $(OBJS)\monodll_filepickerg.obj \
$(OBJS)\monodll_statusbr.obj \
$(OBJS)\monodll_prntdlgg.obj \
$(OBJS)\monodll_accel.obj \
$(OBJS)\monodll_bookctrl.obj \
$(OBJS)\monodll_choiccmn.obj \
$(OBJS)\monodll_clipcmn.obj \
+ $(OBJS)\monodll_clrpickercmn.obj \
$(OBJS)\monodll_colourcmn.obj \
$(OBJS)\monodll_combocmn.obj \
$(OBJS)\monodll_cmdproc.obj \
$(OBJS)\monodll_effects.obj \
$(OBJS)\monodll_evtloopcmn.obj \
$(OBJS)\monodll_fddlgcmn.obj \
+ $(OBJS)\monodll_filepickercmn.obj \
+ $(OBJS)\monodll_fontpickercmn.obj \
$(OBJS)\monodll_fldlgcmn.obj \
$(OBJS)\monodll_fontcmn.obj \
$(OBJS)\monodll_fontenumcmn.obj \
$(OBJS)\monodll_menucmn.obj \
$(OBJS)\monodll_nbkbase.obj \
$(OBJS)\monodll_paper.obj \
+ $(OBJS)\monodll_pickerbase.obj \
$(OBJS)\monodll_popupcmn.obj \
$(OBJS)\monodll_prntbase.obj \
$(OBJS)\monodll_quantize.obj \
$(OBJS)\monodll_bookctrl.obj \
$(OBJS)\monodll_choiccmn.obj \
$(OBJS)\monodll_clipcmn.obj \
+ $(OBJS)\monodll_clrpickercmn.obj \
$(OBJS)\monodll_colourcmn.obj \
$(OBJS)\monodll_combocmn.obj \
$(OBJS)\monodll_cmdproc.obj \
$(OBJS)\monodll_effects.obj \
$(OBJS)\monodll_evtloopcmn.obj \
$(OBJS)\monodll_fddlgcmn.obj \
+ $(OBJS)\monodll_filepickercmn.obj \
+ $(OBJS)\monodll_fontpickercmn.obj \
$(OBJS)\monodll_fldlgcmn.obj \
$(OBJS)\monodll_fontcmn.obj \
$(OBJS)\monodll_fontenumcmn.obj \
$(OBJS)\monodll_menucmn.obj \
$(OBJS)\monodll_nbkbase.obj \
$(OBJS)\monodll_paper.obj \
+ $(OBJS)\monodll_pickerbase.obj \
$(OBJS)\monodll_popupcmn.obj \
$(OBJS)\monodll_prntbase.obj \
$(OBJS)\monodll_quantize.obj \
$(OBJS)\monolib_xh_chckl.obj \
$(OBJS)\monolib_xh_choic.obj \
$(OBJS)\monolib_xh_choicbk.obj \
+ $(OBJS)\monolib_xh_clrpicker.obj \
$(OBJS)\monolib_xh_combo.obj \
$(OBJS)\monolib_xh_datectrl.obj \
+ $(OBJS)\monolib_xh_dirpicker.obj \
$(OBJS)\monolib_xh_dlg.obj \
$(OBJS)\monolib_xh_frame.obj \
$(OBJS)\monolib_xh_mdi.obj \
+ $(OBJS)\monolib_xh_filepicker.obj \
+ $(OBJS)\monolib_xh_fontpicker.obj \
$(OBJS)\monolib_xh_gauge.obj \
$(OBJS)\monolib_xh_gdctl.obj \
$(OBJS)\monolib_xh_grid.obj \
$(OBJS)\monolib_helpwin.obj \
$(OBJS)\monolib_automtn.obj \
$(OBJS)\monolib_uuid.obj \
+ $(OBJS)\monolib_clrpickerg.obj \
+ $(OBJS)\monolib_fontpickerg.obj \
+ $(OBJS)\monolib_filepickerg.obj \
$(OBJS)\monolib_statusbr.obj \
$(OBJS)\monolib_prntdlgg.obj \
$(OBJS)\monolib_accel.obj \
$(OBJS)\monolib_bookctrl.obj \
$(OBJS)\monolib_choiccmn.obj \
$(OBJS)\monolib_clipcmn.obj \
+ $(OBJS)\monolib_clrpickercmn.obj \
$(OBJS)\monolib_colourcmn.obj \
$(OBJS)\monolib_combocmn.obj \
$(OBJS)\monolib_cmdproc.obj \
$(OBJS)\monolib_effects.obj \
$(OBJS)\monolib_evtloopcmn.obj \
$(OBJS)\monolib_fddlgcmn.obj \
+ $(OBJS)\monolib_filepickercmn.obj \
+ $(OBJS)\monolib_fontpickercmn.obj \
$(OBJS)\monolib_fldlgcmn.obj \
$(OBJS)\monolib_fontcmn.obj \
$(OBJS)\monolib_fontenumcmn.obj \
$(OBJS)\monolib_menucmn.obj \
$(OBJS)\monolib_nbkbase.obj \
$(OBJS)\monolib_paper.obj \
+ $(OBJS)\monolib_pickerbase.obj \
$(OBJS)\monolib_popupcmn.obj \
$(OBJS)\monolib_prntbase.obj \
$(OBJS)\monolib_quantize.obj \
$(OBJS)\monolib_bookctrl.obj \
$(OBJS)\monolib_choiccmn.obj \
$(OBJS)\monolib_clipcmn.obj \
+ $(OBJS)\monolib_clrpickercmn.obj \
$(OBJS)\monolib_colourcmn.obj \
$(OBJS)\monolib_combocmn.obj \
$(OBJS)\monolib_cmdproc.obj \
$(OBJS)\monolib_effects.obj \
$(OBJS)\monolib_evtloopcmn.obj \
$(OBJS)\monolib_fddlgcmn.obj \
+ $(OBJS)\monolib_filepickercmn.obj \
+ $(OBJS)\monolib_fontpickercmn.obj \
$(OBJS)\monolib_fldlgcmn.obj \
$(OBJS)\monolib_fontcmn.obj \
$(OBJS)\monolib_fontenumcmn.obj \
$(OBJS)\monolib_menucmn.obj \
$(OBJS)\monolib_nbkbase.obj \
$(OBJS)\monolib_paper.obj \
+ $(OBJS)\monolib_pickerbase.obj \
$(OBJS)\monolib_popupcmn.obj \
$(OBJS)\monolib_prntbase.obj \
$(OBJS)\monolib_quantize.obj \
$(OBJS)\coredll_helpwin.obj \
$(OBJS)\coredll_automtn.obj \
$(OBJS)\coredll_uuid.obj \
+ $(OBJS)\coredll_clrpickerg.obj \
+ $(OBJS)\coredll_fontpickerg.obj \
+ $(OBJS)\coredll_filepickerg.obj \
$(OBJS)\coredll_statusbr.obj \
$(OBJS)\coredll_prntdlgg.obj \
$(OBJS)\coredll_accel.obj \
$(OBJS)\coredll_bookctrl.obj \
$(OBJS)\coredll_choiccmn.obj \
$(OBJS)\coredll_clipcmn.obj \
+ $(OBJS)\coredll_clrpickercmn.obj \
$(OBJS)\coredll_colourcmn.obj \
$(OBJS)\coredll_combocmn.obj \
$(OBJS)\coredll_cmdproc.obj \
$(OBJS)\coredll_effects.obj \
$(OBJS)\coredll_evtloopcmn.obj \
$(OBJS)\coredll_fddlgcmn.obj \
+ $(OBJS)\coredll_filepickercmn.obj \
+ $(OBJS)\coredll_fontpickercmn.obj \
$(OBJS)\coredll_fldlgcmn.obj \
$(OBJS)\coredll_fontcmn.obj \
$(OBJS)\coredll_fontenumcmn.obj \
$(OBJS)\coredll_menucmn.obj \
$(OBJS)\coredll_nbkbase.obj \
$(OBJS)\coredll_paper.obj \
+ $(OBJS)\coredll_pickerbase.obj \
$(OBJS)\coredll_popupcmn.obj \
$(OBJS)\coredll_prntbase.obj \
$(OBJS)\coredll_quantize.obj \
$(OBJS)\coredll_bookctrl.obj \
$(OBJS)\coredll_choiccmn.obj \
$(OBJS)\coredll_clipcmn.obj \
+ $(OBJS)\coredll_clrpickercmn.obj \
$(OBJS)\coredll_colourcmn.obj \
$(OBJS)\coredll_combocmn.obj \
$(OBJS)\coredll_cmdproc.obj \
$(OBJS)\coredll_effects.obj \
$(OBJS)\coredll_evtloopcmn.obj \
$(OBJS)\coredll_fddlgcmn.obj \
+ $(OBJS)\coredll_filepickercmn.obj \
+ $(OBJS)\coredll_fontpickercmn.obj \
$(OBJS)\coredll_fldlgcmn.obj \
$(OBJS)\coredll_fontcmn.obj \
$(OBJS)\coredll_fontenumcmn.obj \
$(OBJS)\coredll_menucmn.obj \
$(OBJS)\coredll_nbkbase.obj \
$(OBJS)\coredll_paper.obj \
+ $(OBJS)\coredll_pickerbase.obj \
$(OBJS)\coredll_popupcmn.obj \
$(OBJS)\coredll_prntbase.obj \
$(OBJS)\coredll_quantize.obj \
$(OBJS)\corelib_helpwin.obj \
$(OBJS)\corelib_automtn.obj \
$(OBJS)\corelib_uuid.obj \
+ $(OBJS)\corelib_clrpickerg.obj \
+ $(OBJS)\corelib_fontpickerg.obj \
+ $(OBJS)\corelib_filepickerg.obj \
$(OBJS)\corelib_statusbr.obj \
$(OBJS)\corelib_prntdlgg.obj \
$(OBJS)\corelib_accel.obj \
$(OBJS)\corelib_bookctrl.obj \
$(OBJS)\corelib_choiccmn.obj \
$(OBJS)\corelib_clipcmn.obj \
+ $(OBJS)\corelib_clrpickercmn.obj \
$(OBJS)\corelib_colourcmn.obj \
$(OBJS)\corelib_combocmn.obj \
$(OBJS)\corelib_cmdproc.obj \
$(OBJS)\corelib_effects.obj \
$(OBJS)\corelib_evtloopcmn.obj \
$(OBJS)\corelib_fddlgcmn.obj \
+ $(OBJS)\corelib_filepickercmn.obj \
+ $(OBJS)\corelib_fontpickercmn.obj \
$(OBJS)\corelib_fldlgcmn.obj \
$(OBJS)\corelib_fontcmn.obj \
$(OBJS)\corelib_fontenumcmn.obj \
$(OBJS)\corelib_menucmn.obj \
$(OBJS)\corelib_nbkbase.obj \
$(OBJS)\corelib_paper.obj \
+ $(OBJS)\corelib_pickerbase.obj \
$(OBJS)\corelib_popupcmn.obj \
$(OBJS)\corelib_prntbase.obj \
$(OBJS)\corelib_quantize.obj \
$(OBJS)\corelib_bookctrl.obj \
$(OBJS)\corelib_choiccmn.obj \
$(OBJS)\corelib_clipcmn.obj \
+ $(OBJS)\corelib_clrpickercmn.obj \
$(OBJS)\corelib_colourcmn.obj \
$(OBJS)\corelib_combocmn.obj \
$(OBJS)\corelib_cmdproc.obj \
$(OBJS)\corelib_effects.obj \
$(OBJS)\corelib_evtloopcmn.obj \
$(OBJS)\corelib_fddlgcmn.obj \
+ $(OBJS)\corelib_filepickercmn.obj \
+ $(OBJS)\corelib_fontpickercmn.obj \
$(OBJS)\corelib_fldlgcmn.obj \
$(OBJS)\corelib_fontcmn.obj \
$(OBJS)\corelib_fontenumcmn.obj \
$(OBJS)\corelib_menucmn.obj \
$(OBJS)\corelib_nbkbase.obj \
$(OBJS)\corelib_paper.obj \
+ $(OBJS)\corelib_pickerbase.obj \
$(OBJS)\corelib_popupcmn.obj \
$(OBJS)\corelib_prntbase.obj \
$(OBJS)\corelib_quantize.obj \
$(OBJS)\monodll_urlmsw.obj: ..\..\src\msw\urlmsw.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_clrpickerg.obj: ..\..\src\generic\clrpickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
+$(OBJS)\monodll_fontpickerg.obj: ..\..\src\generic\fontpickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
+$(OBJS)\monodll_filepickerg.obj: ..\..\src\generic\filepickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_colordlg.obj: ..\..\src\msw\colordlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_choicbk.obj: ..\..\src\xrc\xh_choicbk.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_xh_clrpicker.obj: ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_xh_combo.obj: ..\..\src\xrc\xh_combo.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_datectrl.obj: ..\..\src\xrc\xh_datectrl.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_xh_dirpicker.obj: ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_xh_dlg.obj: ..\..\src\xrc\xh_dlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_mdi.obj: ..\..\src\xrc\xh_mdi.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_xh_filepicker.obj: ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
+$(OBJS)\monodll_xh_fontpicker.obj: ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_xh_gauge.obj: ..\..\src\xrc\xh_gauge.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monodll_clrpickercmn.obj: ..\..\src\common\clrpickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_colourcmn.obj: ..\..\src\common\colourcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monodll_filepickercmn.obj: ..\..\src\common\filepickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+!endif
+
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monodll_fontpickercmn.obj: ..\..\src\common\fontpickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_fldlgcmn.obj: ..\..\src\common\fldlgcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monodll_pickerbase.obj: ..\..\src\common\pickerbase.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_popupcmn.obj: ..\..\src\common\popupcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monolib_urlmsw.obj: ..\..\src\msw\urlmsw.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_clrpickerg.obj: ..\..\src\generic\clrpickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
+$(OBJS)\monolib_fontpickerg.obj: ..\..\src\generic\fontpickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
+$(OBJS)\monolib_filepickerg.obj: ..\..\src\generic\filepickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_colordlg.obj: ..\..\src\msw\colordlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_choicbk.obj: ..\..\src\xrc\xh_choicbk.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_xh_clrpicker.obj: ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_xh_combo.obj: ..\..\src\xrc\xh_combo.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_datectrl.obj: ..\..\src\xrc\xh_datectrl.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_xh_dirpicker.obj: ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_xh_dlg.obj: ..\..\src\xrc\xh_dlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_mdi.obj: ..\..\src\xrc\xh_mdi.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_xh_filepicker.obj: ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
+$(OBJS)\monolib_xh_fontpicker.obj: ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_xh_gauge.obj: ..\..\src\xrc\xh_gauge.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monolib_clrpickercmn.obj: ..\..\src\common\clrpickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_colourcmn.obj: ..\..\src\common\colourcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monolib_filepickercmn.obj: ..\..\src\common\filepickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+!endif
+
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monolib_fontpickercmn.obj: ..\..\src\common\fontpickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_fldlgcmn.obj: ..\..\src\common\fldlgcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\monolib_pickerbase.obj: ..\..\src\common\pickerbase.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_popupcmn.obj: ..\..\src\common\popupcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\coredll_volume.obj: ..\..\src\msw\volume.cpp
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
+$(OBJS)\coredll_clrpickerg.obj: ..\..\src\generic\clrpickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
+
+$(OBJS)\coredll_fontpickerg.obj: ..\..\src\generic\fontpickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
+
+$(OBJS)\coredll_filepickerg.obj: ..\..\src\generic\filepickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
+
$(OBJS)\coredll_colordlg.obj: ..\..\src\msw\colordlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\coredll_clrpickercmn.obj: ..\..\src\common\clrpickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_colourcmn.obj: ..\..\src\common\colourcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\coredll_filepickercmn.obj: ..\..\src\common\filepickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
+!endif
+
+!if "$(USE_GUI)" == "1"
+$(OBJS)\coredll_fontpickercmn.obj: ..\..\src\common\fontpickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_fldlgcmn.obj: ..\..\src\common\fldlgcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\coredll_pickerbase.obj: ..\..\src\common\pickerbase.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_popupcmn.obj: ..\..\src\common\popupcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
$(OBJS)\corelib_volume.obj: ..\..\src\msw\volume.cpp
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
+$(OBJS)\corelib_clrpickerg.obj: ..\..\src\generic\clrpickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
+
+$(OBJS)\corelib_fontpickerg.obj: ..\..\src\generic\fontpickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
+
+$(OBJS)\corelib_filepickerg.obj: ..\..\src\generic\filepickerg.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
+
$(OBJS)\corelib_colordlg.obj: ..\..\src\msw\colordlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\corelib_clrpickercmn.obj: ..\..\src\common\clrpickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_colourcmn.obj: ..\..\src\common\colourcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\corelib_filepickercmn.obj: ..\..\src\common\filepickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
+!endif
+
+!if "$(USE_GUI)" == "1"
+$(OBJS)\corelib_fontpickercmn.obj: ..\..\src\common\fontpickercmn.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_fldlgcmn.obj: ..\..\src\common\fldlgcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
!endif
+!if "$(USE_GUI)" == "1"
+$(OBJS)\corelib_pickerbase.obj: ..\..\src\common\pickerbase.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
+!endif
+
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_popupcmn.obj: ..\..\src\common\popupcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_choicbk.obj: ..\..\src\xrc\xh_choicbk.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
+$(OBJS)\xrcdll_xh_clrpicker.obj: ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
+
$(OBJS)\xrcdll_xh_combo.obj: ..\..\src\xrc\xh_combo.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_datectrl.obj: ..\..\src\xrc\xh_datectrl.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
+$(OBJS)\xrcdll_xh_dirpicker.obj: ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
+
$(OBJS)\xrcdll_xh_dlg.obj: ..\..\src\xrc\xh_dlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_mdi.obj: ..\..\src\xrc\xh_mdi.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
+$(OBJS)\xrcdll_xh_filepicker.obj: ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
+
+$(OBJS)\xrcdll_xh_fontpicker.obj: ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
+
$(OBJS)\xrcdll_xh_gauge.obj: ..\..\src\xrc\xh_gauge.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrclib_xh_choicbk.obj: ..\..\src\xrc\xh_choicbk.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
+$(OBJS)\xrclib_xh_clrpicker.obj: ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
+
$(OBJS)\xrclib_xh_combo.obj: ..\..\src\xrc\xh_combo.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\xrclib_xh_datectrl.obj: ..\..\src\xrc\xh_datectrl.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
+$(OBJS)\xrclib_xh_dirpicker.obj: ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
+
$(OBJS)\xrclib_xh_dlg.obj: ..\..\src\xrc\xh_dlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\xrclib_xh_mdi.obj: ..\..\src\xrc\xh_mdi.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
+$(OBJS)\xrclib_xh_filepicker.obj: ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
+
+$(OBJS)\xrclib_xh_fontpicker.obj: ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
+
$(OBJS)\xrclib_xh_gauge.obj: ..\..\src\xrc\xh_gauge.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\monodll_xh_chckl.obj &
$(OBJS)\monodll_xh_choic.obj &
$(OBJS)\monodll_xh_choicbk.obj &
+ $(OBJS)\monodll_xh_clrpicker.obj &
$(OBJS)\monodll_xh_combo.obj &
$(OBJS)\monodll_xh_datectrl.obj &
+ $(OBJS)\monodll_xh_dirpicker.obj &
$(OBJS)\monodll_xh_dlg.obj &
$(OBJS)\monodll_xh_frame.obj &
$(OBJS)\monodll_xh_mdi.obj &
+ $(OBJS)\monodll_xh_filepicker.obj &
+ $(OBJS)\monodll_xh_fontpicker.obj &
$(OBJS)\monodll_xh_gauge.obj &
$(OBJS)\monodll_xh_gdctl.obj &
$(OBJS)\monodll_xh_grid.obj &
$(OBJS)\monodll_helpwin.obj &
$(OBJS)\monodll_automtn.obj &
$(OBJS)\monodll_uuid.obj &
+ $(OBJS)\monodll_clrpickerg.obj &
+ $(OBJS)\monodll_fontpickerg.obj &
+ $(OBJS)\monodll_filepickerg.obj &
$(OBJS)\monodll_statusbr.obj &
$(OBJS)\monodll_prntdlgg.obj &
$(OBJS)\monodll_accel.obj &
$(OBJS)\monodll_bookctrl.obj &
$(OBJS)\monodll_choiccmn.obj &
$(OBJS)\monodll_clipcmn.obj &
+ $(OBJS)\monodll_clrpickercmn.obj &
$(OBJS)\monodll_colourcmn.obj &
$(OBJS)\monodll_combocmn.obj &
$(OBJS)\monodll_cmdproc.obj &
$(OBJS)\monodll_effects.obj &
$(OBJS)\monodll_evtloopcmn.obj &
$(OBJS)\monodll_fddlgcmn.obj &
+ $(OBJS)\monodll_filepickercmn.obj &
+ $(OBJS)\monodll_fontpickercmn.obj &
$(OBJS)\monodll_fldlgcmn.obj &
$(OBJS)\monodll_fontcmn.obj &
$(OBJS)\monodll_fontenumcmn.obj &
$(OBJS)\monodll_menucmn.obj &
$(OBJS)\monodll_nbkbase.obj &
$(OBJS)\monodll_paper.obj &
+ $(OBJS)\monodll_pickerbase.obj &
$(OBJS)\monodll_popupcmn.obj &
$(OBJS)\monodll_prntbase.obj &
$(OBJS)\monodll_quantize.obj &
$(OBJS)\monodll_bookctrl.obj &
$(OBJS)\monodll_choiccmn.obj &
$(OBJS)\monodll_clipcmn.obj &
+ $(OBJS)\monodll_clrpickercmn.obj &
$(OBJS)\monodll_colourcmn.obj &
$(OBJS)\monodll_combocmn.obj &
$(OBJS)\monodll_cmdproc.obj &
$(OBJS)\monodll_effects.obj &
$(OBJS)\monodll_evtloopcmn.obj &
$(OBJS)\monodll_fddlgcmn.obj &
+ $(OBJS)\monodll_filepickercmn.obj &
+ $(OBJS)\monodll_fontpickercmn.obj &
$(OBJS)\monodll_fldlgcmn.obj &
$(OBJS)\monodll_fontcmn.obj &
$(OBJS)\monodll_fontenumcmn.obj &
$(OBJS)\monodll_menucmn.obj &
$(OBJS)\monodll_nbkbase.obj &
$(OBJS)\monodll_paper.obj &
+ $(OBJS)\monodll_pickerbase.obj &
$(OBJS)\monodll_popupcmn.obj &
$(OBJS)\monodll_prntbase.obj &
$(OBJS)\monodll_quantize.obj &
$(OBJS)\monolib_xh_chckl.obj &
$(OBJS)\monolib_xh_choic.obj &
$(OBJS)\monolib_xh_choicbk.obj &
+ $(OBJS)\monolib_xh_clrpicker.obj &
$(OBJS)\monolib_xh_combo.obj &
$(OBJS)\monolib_xh_datectrl.obj &
+ $(OBJS)\monolib_xh_dirpicker.obj &
$(OBJS)\monolib_xh_dlg.obj &
$(OBJS)\monolib_xh_frame.obj &
$(OBJS)\monolib_xh_mdi.obj &
+ $(OBJS)\monolib_xh_filepicker.obj &
+ $(OBJS)\monolib_xh_fontpicker.obj &
$(OBJS)\monolib_xh_gauge.obj &
$(OBJS)\monolib_xh_gdctl.obj &
$(OBJS)\monolib_xh_grid.obj &
$(OBJS)\monolib_helpwin.obj &
$(OBJS)\monolib_automtn.obj &
$(OBJS)\monolib_uuid.obj &
+ $(OBJS)\monolib_clrpickerg.obj &
+ $(OBJS)\monolib_fontpickerg.obj &
+ $(OBJS)\monolib_filepickerg.obj &
$(OBJS)\monolib_statusbr.obj &
$(OBJS)\monolib_prntdlgg.obj &
$(OBJS)\monolib_accel.obj &
$(OBJS)\monolib_bookctrl.obj &
$(OBJS)\monolib_choiccmn.obj &
$(OBJS)\monolib_clipcmn.obj &
+ $(OBJS)\monolib_clrpickercmn.obj &
$(OBJS)\monolib_colourcmn.obj &
$(OBJS)\monolib_combocmn.obj &
$(OBJS)\monolib_cmdproc.obj &
$(OBJS)\monolib_effects.obj &
$(OBJS)\monolib_evtloopcmn.obj &
$(OBJS)\monolib_fddlgcmn.obj &
+ $(OBJS)\monolib_filepickercmn.obj &
+ $(OBJS)\monolib_fontpickercmn.obj &
$(OBJS)\monolib_fldlgcmn.obj &
$(OBJS)\monolib_fontcmn.obj &
$(OBJS)\monolib_fontenumcmn.obj &
$(OBJS)\monolib_menucmn.obj &
$(OBJS)\monolib_nbkbase.obj &
$(OBJS)\monolib_paper.obj &
+ $(OBJS)\monolib_pickerbase.obj &
$(OBJS)\monolib_popupcmn.obj &
$(OBJS)\monolib_prntbase.obj &
$(OBJS)\monolib_quantize.obj &
$(OBJS)\monolib_bookctrl.obj &
$(OBJS)\monolib_choiccmn.obj &
$(OBJS)\monolib_clipcmn.obj &
+ $(OBJS)\monolib_clrpickercmn.obj &
$(OBJS)\monolib_colourcmn.obj &
$(OBJS)\monolib_combocmn.obj &
$(OBJS)\monolib_cmdproc.obj &
$(OBJS)\monolib_effects.obj &
$(OBJS)\monolib_evtloopcmn.obj &
$(OBJS)\monolib_fddlgcmn.obj &
+ $(OBJS)\monolib_filepickercmn.obj &
+ $(OBJS)\monolib_fontpickercmn.obj &
$(OBJS)\monolib_fldlgcmn.obj &
$(OBJS)\monolib_fontcmn.obj &
$(OBJS)\monolib_fontenumcmn.obj &
$(OBJS)\monolib_menucmn.obj &
$(OBJS)\monolib_nbkbase.obj &
$(OBJS)\monolib_paper.obj &
+ $(OBJS)\monolib_pickerbase.obj &
$(OBJS)\monolib_popupcmn.obj &
$(OBJS)\monolib_prntbase.obj &
$(OBJS)\monolib_quantize.obj &
$(OBJS)\coredll_helpwin.obj &
$(OBJS)\coredll_automtn.obj &
$(OBJS)\coredll_uuid.obj &
+ $(OBJS)\coredll_clrpickerg.obj &
+ $(OBJS)\coredll_fontpickerg.obj &
+ $(OBJS)\coredll_filepickerg.obj &
$(OBJS)\coredll_statusbr.obj &
$(OBJS)\coredll_prntdlgg.obj &
$(OBJS)\coredll_accel.obj &
$(OBJS)\coredll_bookctrl.obj &
$(OBJS)\coredll_choiccmn.obj &
$(OBJS)\coredll_clipcmn.obj &
+ $(OBJS)\coredll_clrpickercmn.obj &
$(OBJS)\coredll_colourcmn.obj &
$(OBJS)\coredll_combocmn.obj &
$(OBJS)\coredll_cmdproc.obj &
$(OBJS)\coredll_effects.obj &
$(OBJS)\coredll_evtloopcmn.obj &
$(OBJS)\coredll_fddlgcmn.obj &
+ $(OBJS)\coredll_filepickercmn.obj &
+ $(OBJS)\coredll_fontpickercmn.obj &
$(OBJS)\coredll_fldlgcmn.obj &
$(OBJS)\coredll_fontcmn.obj &
$(OBJS)\coredll_fontenumcmn.obj &
$(OBJS)\coredll_menucmn.obj &
$(OBJS)\coredll_nbkbase.obj &
$(OBJS)\coredll_paper.obj &
+ $(OBJS)\coredll_pickerbase.obj &
$(OBJS)\coredll_popupcmn.obj &
$(OBJS)\coredll_prntbase.obj &
$(OBJS)\coredll_quantize.obj &
$(OBJS)\coredll_bookctrl.obj &
$(OBJS)\coredll_choiccmn.obj &
$(OBJS)\coredll_clipcmn.obj &
+ $(OBJS)\coredll_clrpickercmn.obj &
$(OBJS)\coredll_colourcmn.obj &
$(OBJS)\coredll_combocmn.obj &
$(OBJS)\coredll_cmdproc.obj &
$(OBJS)\coredll_effects.obj &
$(OBJS)\coredll_evtloopcmn.obj &
$(OBJS)\coredll_fddlgcmn.obj &
+ $(OBJS)\coredll_filepickercmn.obj &
+ $(OBJS)\coredll_fontpickercmn.obj &
$(OBJS)\coredll_fldlgcmn.obj &
$(OBJS)\coredll_fontcmn.obj &
$(OBJS)\coredll_fontenumcmn.obj &
$(OBJS)\coredll_menucmn.obj &
$(OBJS)\coredll_nbkbase.obj &
$(OBJS)\coredll_paper.obj &
+ $(OBJS)\coredll_pickerbase.obj &
$(OBJS)\coredll_popupcmn.obj &
$(OBJS)\coredll_prntbase.obj &
$(OBJS)\coredll_quantize.obj &
$(OBJS)\corelib_helpwin.obj &
$(OBJS)\corelib_automtn.obj &
$(OBJS)\corelib_uuid.obj &
+ $(OBJS)\corelib_clrpickerg.obj &
+ $(OBJS)\corelib_fontpickerg.obj &
+ $(OBJS)\corelib_filepickerg.obj &
$(OBJS)\corelib_statusbr.obj &
$(OBJS)\corelib_prntdlgg.obj &
$(OBJS)\corelib_accel.obj &
$(OBJS)\corelib_bookctrl.obj &
$(OBJS)\corelib_choiccmn.obj &
$(OBJS)\corelib_clipcmn.obj &
+ $(OBJS)\corelib_clrpickercmn.obj &
$(OBJS)\corelib_colourcmn.obj &
$(OBJS)\corelib_combocmn.obj &
$(OBJS)\corelib_cmdproc.obj &
$(OBJS)\corelib_effects.obj &
$(OBJS)\corelib_evtloopcmn.obj &
$(OBJS)\corelib_fddlgcmn.obj &
+ $(OBJS)\corelib_filepickercmn.obj &
+ $(OBJS)\corelib_fontpickercmn.obj &
$(OBJS)\corelib_fldlgcmn.obj &
$(OBJS)\corelib_fontcmn.obj &
$(OBJS)\corelib_fontenumcmn.obj &
$(OBJS)\corelib_menucmn.obj &
$(OBJS)\corelib_nbkbase.obj &
$(OBJS)\corelib_paper.obj &
+ $(OBJS)\corelib_pickerbase.obj &
$(OBJS)\corelib_popupcmn.obj &
$(OBJS)\corelib_prntbase.obj &
$(OBJS)\corelib_quantize.obj &
$(OBJS)\corelib_bookctrl.obj &
$(OBJS)\corelib_choiccmn.obj &
$(OBJS)\corelib_clipcmn.obj &
+ $(OBJS)\corelib_clrpickercmn.obj &
$(OBJS)\corelib_colourcmn.obj &
$(OBJS)\corelib_combocmn.obj &
$(OBJS)\corelib_cmdproc.obj &
$(OBJS)\corelib_effects.obj &
$(OBJS)\corelib_evtloopcmn.obj &
$(OBJS)\corelib_fddlgcmn.obj &
+ $(OBJS)\corelib_filepickercmn.obj &
+ $(OBJS)\corelib_fontpickercmn.obj &
$(OBJS)\corelib_fldlgcmn.obj &
$(OBJS)\corelib_fontcmn.obj &
$(OBJS)\corelib_fontenumcmn.obj &
$(OBJS)\corelib_menucmn.obj &
$(OBJS)\corelib_nbkbase.obj &
$(OBJS)\corelib_paper.obj &
+ $(OBJS)\corelib_pickerbase.obj &
$(OBJS)\corelib_popupcmn.obj &
$(OBJS)\corelib_prntbase.obj &
$(OBJS)\corelib_quantize.obj &
$(OBJS)\xrcdll_xh_chckl.obj &
$(OBJS)\xrcdll_xh_choic.obj &
$(OBJS)\xrcdll_xh_choicbk.obj &
+ $(OBJS)\xrcdll_xh_clrpicker.obj &
$(OBJS)\xrcdll_xh_combo.obj &
$(OBJS)\xrcdll_xh_datectrl.obj &
+ $(OBJS)\xrcdll_xh_dirpicker.obj &
$(OBJS)\xrcdll_xh_dlg.obj &
$(OBJS)\xrcdll_xh_frame.obj &
$(OBJS)\xrcdll_xh_mdi.obj &
+ $(OBJS)\xrcdll_xh_filepicker.obj &
+ $(OBJS)\xrcdll_xh_fontpicker.obj &
$(OBJS)\xrcdll_xh_gauge.obj &
$(OBJS)\xrcdll_xh_gdctl.obj &
$(OBJS)\xrcdll_xh_grid.obj &
$(OBJS)\xrclib_xh_chckl.obj &
$(OBJS)\xrclib_xh_choic.obj &
$(OBJS)\xrclib_xh_choicbk.obj &
+ $(OBJS)\xrclib_xh_clrpicker.obj &
$(OBJS)\xrclib_xh_combo.obj &
$(OBJS)\xrclib_xh_datectrl.obj &
+ $(OBJS)\xrclib_xh_dirpicker.obj &
$(OBJS)\xrclib_xh_dlg.obj &
$(OBJS)\xrclib_xh_frame.obj &
$(OBJS)\xrclib_xh_mdi.obj &
+ $(OBJS)\xrclib_xh_filepicker.obj &
+ $(OBJS)\xrclib_xh_fontpicker.obj &
$(OBJS)\xrclib_xh_gauge.obj &
$(OBJS)\xrclib_xh_gdctl.obj &
$(OBJS)\xrclib_xh_grid.obj &
$(OBJS)\monodll_urlmsw.obj : .AUTODEPEND ..\..\src\msw\urlmsw.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+$(OBJS)\monodll_clrpickerg.obj : .AUTODEPEND ..\..\src\generic\clrpickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
+$(OBJS)\monodll_fontpickerg.obj : .AUTODEPEND ..\..\src\generic\fontpickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
+$(OBJS)\monodll_filepickerg.obj : .AUTODEPEND ..\..\src\generic\filepickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
$(OBJS)\monodll_colordlg.obj : .AUTODEPEND ..\..\src\msw\colordlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_xh_choicbk.obj : .AUTODEPEND ..\..\src\xrc\xh_choicbk.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+$(OBJS)\monodll_xh_clrpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
$(OBJS)\monodll_xh_combo.obj : .AUTODEPEND ..\..\src\xrc\xh_combo.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_xh_datectrl.obj : .AUTODEPEND ..\..\src\xrc\xh_datectrl.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+$(OBJS)\monodll_xh_dirpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
$(OBJS)\monodll_xh_dlg.obj : .AUTODEPEND ..\..\src\xrc\xh_dlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_xh_mdi.obj : .AUTODEPEND ..\..\src\xrc\xh_mdi.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+$(OBJS)\monodll_xh_filepicker.obj : .AUTODEPEND ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
+$(OBJS)\monodll_xh_fontpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
$(OBJS)\monodll_xh_gauge.obj : .AUTODEPEND ..\..\src\xrc\xh_gauge.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\monodll_clrpickercmn.obj : .AUTODEPEND ..\..\src\common\clrpickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\monodll_colourcmn.obj : .AUTODEPEND ..\..\src\common\colourcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\monodll_filepickercmn.obj : .AUTODEPEND ..\..\src\common\filepickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+!endif
+
+!ifeq USE_GUI 1
+$(OBJS)\monodll_fontpickercmn.obj : .AUTODEPEND ..\..\src\common\fontpickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\monodll_fldlgcmn.obj : .AUTODEPEND ..\..\src\common\fldlgcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\monodll_pickerbase.obj : .AUTODEPEND ..\..\src\common\pickerbase.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\monodll_popupcmn.obj : .AUTODEPEND ..\..\src\common\popupcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monolib_urlmsw.obj : .AUTODEPEND ..\..\src\msw\urlmsw.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+$(OBJS)\monolib_clrpickerg.obj : .AUTODEPEND ..\..\src\generic\clrpickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
+$(OBJS)\monolib_fontpickerg.obj : .AUTODEPEND ..\..\src\generic\fontpickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
+$(OBJS)\monolib_filepickerg.obj : .AUTODEPEND ..\..\src\generic\filepickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
$(OBJS)\monolib_colordlg.obj : .AUTODEPEND ..\..\src\msw\colordlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_xh_choicbk.obj : .AUTODEPEND ..\..\src\xrc\xh_choicbk.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+$(OBJS)\monolib_xh_clrpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
$(OBJS)\monolib_xh_combo.obj : .AUTODEPEND ..\..\src\xrc\xh_combo.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_xh_datectrl.obj : .AUTODEPEND ..\..\src\xrc\xh_datectrl.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+$(OBJS)\monolib_xh_dirpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
$(OBJS)\monolib_xh_dlg.obj : .AUTODEPEND ..\..\src\xrc\xh_dlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_xh_mdi.obj : .AUTODEPEND ..\..\src\xrc\xh_mdi.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+$(OBJS)\monolib_xh_filepicker.obj : .AUTODEPEND ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
+$(OBJS)\monolib_xh_fontpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
$(OBJS)\monolib_xh_gauge.obj : .AUTODEPEND ..\..\src\xrc\xh_gauge.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\monolib_clrpickercmn.obj : .AUTODEPEND ..\..\src\common\clrpickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\monolib_colourcmn.obj : .AUTODEPEND ..\..\src\common\colourcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\monolib_filepickercmn.obj : .AUTODEPEND ..\..\src\common\filepickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+!endif
+
+!ifeq USE_GUI 1
+$(OBJS)\monolib_fontpickercmn.obj : .AUTODEPEND ..\..\src\common\fontpickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\monolib_fldlgcmn.obj : .AUTODEPEND ..\..\src\common\fldlgcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\monolib_pickerbase.obj : .AUTODEPEND ..\..\src\common\pickerbase.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\monolib_popupcmn.obj : .AUTODEPEND ..\..\src\common\popupcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\coredll_volume.obj : .AUTODEPEND ..\..\src\msw\volume.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
+$(OBJS)\coredll_clrpickerg.obj : .AUTODEPEND ..\..\src\generic\clrpickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
+
+$(OBJS)\coredll_fontpickerg.obj : .AUTODEPEND ..\..\src\generic\fontpickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
+
+$(OBJS)\coredll_filepickerg.obj : .AUTODEPEND ..\..\src\generic\filepickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
+
$(OBJS)\coredll_colordlg.obj : .AUTODEPEND ..\..\src\msw\colordlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\coredll_clrpickercmn.obj : .AUTODEPEND ..\..\src\common\clrpickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\coredll_colourcmn.obj : .AUTODEPEND ..\..\src\common\colourcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\coredll_filepickercmn.obj : .AUTODEPEND ..\..\src\common\filepickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
+!endif
+
+!ifeq USE_GUI 1
+$(OBJS)\coredll_fontpickercmn.obj : .AUTODEPEND ..\..\src\common\fontpickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\coredll_fldlgcmn.obj : .AUTODEPEND ..\..\src\common\fldlgcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\coredll_pickerbase.obj : .AUTODEPEND ..\..\src\common\pickerbase.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\coredll_popupcmn.obj : .AUTODEPEND ..\..\src\common\popupcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
$(OBJS)\corelib_volume.obj : .AUTODEPEND ..\..\src\msw\volume.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
+$(OBJS)\corelib_clrpickerg.obj : .AUTODEPEND ..\..\src\generic\clrpickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
+
+$(OBJS)\corelib_fontpickerg.obj : .AUTODEPEND ..\..\src\generic\fontpickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
+
+$(OBJS)\corelib_filepickerg.obj : .AUTODEPEND ..\..\src\generic\filepickerg.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
+
$(OBJS)\corelib_colordlg.obj : .AUTODEPEND ..\..\src\msw\colordlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\corelib_clrpickercmn.obj : .AUTODEPEND ..\..\src\common\clrpickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\corelib_colourcmn.obj : .AUTODEPEND ..\..\src\common\colourcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\corelib_filepickercmn.obj : .AUTODEPEND ..\..\src\common\filepickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
+!endif
+
+!ifeq USE_GUI 1
+$(OBJS)\corelib_fontpickercmn.obj : .AUTODEPEND ..\..\src\common\fontpickercmn.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\corelib_fldlgcmn.obj : .AUTODEPEND ..\..\src\common\fldlgcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
!endif
+!ifeq USE_GUI 1
+$(OBJS)\corelib_pickerbase.obj : .AUTODEPEND ..\..\src\common\pickerbase.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
+!endif
+
!ifeq USE_GUI 1
$(OBJS)\corelib_popupcmn.obj : .AUTODEPEND ..\..\src\common\popupcmn.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
$(OBJS)\xrcdll_xh_choicbk.obj : .AUTODEPEND ..\..\src\xrc\xh_choicbk.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
+$(OBJS)\xrcdll_xh_clrpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
+
$(OBJS)\xrcdll_xh_combo.obj : .AUTODEPEND ..\..\src\xrc\xh_combo.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
$(OBJS)\xrcdll_xh_datectrl.obj : .AUTODEPEND ..\..\src\xrc\xh_datectrl.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
+$(OBJS)\xrcdll_xh_dirpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
+
$(OBJS)\xrcdll_xh_dlg.obj : .AUTODEPEND ..\..\src\xrc\xh_dlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
$(OBJS)\xrcdll_xh_mdi.obj : .AUTODEPEND ..\..\src\xrc\xh_mdi.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
+$(OBJS)\xrcdll_xh_filepicker.obj : .AUTODEPEND ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
+
+$(OBJS)\xrcdll_xh_fontpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
+
$(OBJS)\xrcdll_xh_gauge.obj : .AUTODEPEND ..\..\src\xrc\xh_gauge.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
$(OBJS)\xrclib_xh_choicbk.obj : .AUTODEPEND ..\..\src\xrc\xh_choicbk.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
+$(OBJS)\xrclib_xh_clrpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_clrpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
+
$(OBJS)\xrclib_xh_combo.obj : .AUTODEPEND ..\..\src\xrc\xh_combo.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
$(OBJS)\xrclib_xh_datectrl.obj : .AUTODEPEND ..\..\src\xrc\xh_datectrl.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
+$(OBJS)\xrclib_xh_dirpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_dirpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
+
$(OBJS)\xrclib_xh_dlg.obj : .AUTODEPEND ..\..\src\xrc\xh_dlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
$(OBJS)\xrclib_xh_mdi.obj : .AUTODEPEND ..\..\src\xrc\xh_mdi.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
+$(OBJS)\xrclib_xh_filepicker.obj : .AUTODEPEND ..\..\src\xrc\xh_filepicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
+
+$(OBJS)\xrclib_xh_fontpicker.obj : .AUTODEPEND ..\..\src\xrc\xh_fontpicker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
+
$(OBJS)\xrclib_xh_gauge.obj : .AUTODEPEND ..\..\src\xrc\xh_gauge.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
# End Source File
# Begin Source File
+SOURCE=..\..\src\common\clrpickercmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\common\cmdproc.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\src\common\filepickercmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\common\fldlgcmn.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\src\common\fontpickercmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\common\framecmn.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\src\common\pickerbase.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\common\popupcmn.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\src\generic\clrpickerg.cpp
+
+!IF "$(CFG)" == "core - Win32 DLL Universal Unicode Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Universal Unicode Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Universal Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Universal Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Unicode Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Unicode Debug"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Debug"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Unicode Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Unicode Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Unicode Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Unicode Debug"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Debug"
+
+
+!ENDIF
+
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\generic\colrdlgg.cpp
!IF "$(CFG)" == "core - Win32 DLL Universal Unicode Release"
# PROP Exclude_From_Build 1
+!ENDIF
+
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\generic\filepickerg.cpp
+
+!IF "$(CFG)" == "core - Win32 DLL Universal Unicode Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Universal Unicode Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Universal Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Universal Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Unicode Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Unicode Debug"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Debug"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Unicode Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Unicode Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Unicode Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Unicode Debug"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Debug"
+
+
!ENDIF
# End Source File
# PROP Exclude_From_Build 1
+!ENDIF
+
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\generic\fontpickerg.cpp
+
+!IF "$(CFG)" == "core - Win32 DLL Universal Unicode Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Universal Unicode Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Universal Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Universal Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Unicode Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Unicode Debug"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 DLL Debug"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Unicode Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Unicode Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Release"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Universal Debug"
+
+# PROP Exclude_From_Build 1
+
+!ELSEIF "$(CFG)" == "core - Win32 Unicode Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Unicode Debug"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Release"
+
+
+!ELSEIF "$(CFG)" == "core - Win32 Debug"
+
+
!ENDIF
# End Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\generic\clrpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\generic\colrdlgg.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\generic\filepicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\generic\fontdlgg.h
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\generic\fontpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\generic\grid.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\clrpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\cmdproc.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\filepicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\fmappriv.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\fontpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\fontutil.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\xrc\xh_clrpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\xrc\xh_combo.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\xrc\xh_dirpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\xrc\xh_dlg.h
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\xrc\xh_filepicker.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\include\wx\xrc\xh_fontpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\xrc\xh_frame.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\xrc\xh_clrpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\xrc\xh_combo.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\xrc\xh_dirpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\xrc\xh_dlg.h
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\xrc\xh_filepicker.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\include\wx\xrc\xh_fontpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\xrc\xh_frame.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\src\xrc\xh_clrpicker.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\xrc\xh_combo.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\src\xrc\xh_dirpicker.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\xrc\xh_dlg.cpp
# End Source File
# Begin Source File
+SOURCE=..\..\src\xrc\xh_filepicker.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\src\xrc\xh_fontpicker.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\xrc\xh_frame.cpp
# End Source File
# Begin Source File
DEFAULT_wxUSE_CHECKLST=no
DEFAULT_wxUSE_CHOICE=no
DEFAULT_wxUSE_CHOICEBOOK=no
+ DEFAULT_wxUSE_COLOURPICKERCTRL=no
DEFAULT_wxUSE_COMBOBOX=no
DEFAULT_wxUSE_COMBOCTRL=no
DEFAULT_wxUSE_DATEPICKCTRL=no
DEFAULT_wxUSE_DISPLAY=no
+ DEFAULT_wxUSE_DIRPICKERCTRL=no
+ DEFAULT_wxUSE_FILEPICKERCTRL=no
+ DEFAULT_wxUSE_FONTPICKERCTRL=no
DEFAULT_wxUSE_GAUGE=no
DEFAULT_wxUSE_GRID=no
DEFAULT_wxUSE_HYPERLINKCTRL=no
DEFAULT_wxUSE_CHECKLST=yes
DEFAULT_wxUSE_CHOICE=yes
DEFAULT_wxUSE_CHOICEBOOK=yes
+ DEFAULT_wxUSE_COLOURPICKERCTRL=yes
DEFAULT_wxUSE_COMBOBOX=yes
DEFAULT_wxUSE_COMBOCTRL=yes
DEFAULT_wxUSE_DATEPICKCTRL=yes
DEFAULT_wxUSE_DISPLAY=yes
+ DEFAULT_wxUSE_DIRPICKERCTRL=yes
+ DEFAULT_wxUSE_FILEPICKERCTRL=yes
+ DEFAULT_wxUSE_FONTPICKERCTRL=yes
DEFAULT_wxUSE_GAUGE=yes
DEFAULT_wxUSE_GRID=yes
DEFAULT_wxUSE_HYPERLINKCTRL=yes
DEFAULT_wxUSE_CHECKLISTBOX=yes
DEFAULT_wxUSE_CHOICE=yes
DEFAULT_wxUSE_CHOICEBOOK=yes
+ DEFAULT_wxUSE_COLOURPICKERCTRL=yes
+ DEFAULT_wxUSE_COMBOBOX=yes
DEFAULT_wxUSE_DATEPICKCTRL=yes
+ DEFAULT_wxUSE_DISPLAY=yes
+ DEFAULT_wxUSE_DIRPICKERCTRL=yes
+ DEFAULT_wxUSE_FILEPICKERCTRL=yes
+ DEFAULT_wxUSE_FONTPICKERCTRL=yes
DEFAULT_wxUSE_GAUGE=yes
DEFAULT_wxUSE_GRID=yes
DEFAULT_wxUSE_HYPERLINKCTRL=yes
DEFAULT_wxUSE_CHECKLISTBOX=no
DEFAULT_wxUSE_CHOICE=no
DEFAULT_wxUSE_CHOICEBOOK=no
+ DEFAULT_wxUSE_COLOURPICKERCTRL=no
+ DEFAULT_wxUSE_COMBOBOX=no
DEFAULT_wxUSE_DATEPICKCTRL=no
+ DEFAULT_wxUSE_DISPLAY=no
+ DEFAULT_wxUSE_DIRPICKERCTRL=no
+ DEFAULT_wxUSE_FILEPICKERCTRL=no
+ DEFAULT_wxUSE_FONTPICKERCTRL=no
DEFAULT_wxUSE_GAUGE=no
DEFAULT_wxUSE_GRID=no
DEFAULT_wxUSE_HYPERLINKCTRL=no
WX_ARG_ENABLE(checklst, [ --enable-checklst use wxCheckListBox (listbox with checkboxes) class], wxUSE_CHECKLST)
WX_ARG_ENABLE(choice, [ --enable-choice use wxChoice class], wxUSE_CHOICE)
WX_ARG_ENABLE(choicebook, [ --enable-choicebook use wxChoicebook class], wxUSE_CHOICEBOOK)
+WX_ARG_ENABLE(colourpicker,[ --enable-colourpicker use wxColourPickerCtrl class], wxUSE_COLOURPICKERCTRL)
WX_ARG_ENABLE(combobox, [ --enable-combobox use wxComboBox class], wxUSE_COMBOBOX)
WX_ARG_ENABLE(comboctrl, [ --enable-comboctrl use wxComboCtrl class], wxUSE_COMBOCTRL)
WX_ARG_ENABLE(datepick, [ --enable-datepick use wxDatePickerCtrl class], wxUSE_DATEPICKCTRL)
+WX_ARG_ENABLE(dirpicker, [ --enable-dirpicker use wxDirPickerCtrl class], wxUSE_DIRPICKERCTRL)
WX_ARG_ENABLE(display, [ --enable-display use wxDisplay class], wxUSE_DISPLAY)
+WX_ARG_ENABLE(filepicker, [ --enable-filepicker use wxFilePickerCtrl class], wxUSE_FILEPICKERCTRL)
+WX_ARG_ENABLE(fontpicker, [ --enable-fontpicker use wxFontPickerCtrl class], wxUSE_FONTPICKERCTRL)
WX_ARG_ENABLE(gauge, [ --enable-gauge use wxGauge class], wxUSE_GAUGE)
WX_ARG_ENABLE(grid, [ --enable-grid use wxGrid class], wxUSE_GRID)
WX_ARG_ENABLE(dataviewctrl,[ --enable-dataviewctrl, use wxDataViewCtrl class], wxUSE_DATAVIEWCTRL)
AC_MSG_RESULT([yes])
])
+ dnl test if we have at least GTK+ 2.6:
+ AC_MSG_CHECKING([if GTK+ is version >= 2.6])
+ AC_TRY_COMPILE([
+ #include <gtk/gtk.h>
+ ],
+ [
+ #if !GTK_CHECK_VERSION(2,6,0)
+ Not GTK+ 2.6
+ #endif
+ ],
+ [
+ AC_DEFINE(__WXGTK26__)
+ AC_DEFINE(__WXGTK24__)
+ AC_MSG_RESULT([yes])
+ ac_wxgtk26=1
+ ],
+ [
+ AC_MSG_RESULT([no])
+ ac_wxgtk26=0
+ ])
+
+ if test "$ac_wxgtk26" = 0; then
dnl test if we have at least GTK+ 2.4:
AC_MSG_CHECKING([if GTK+ is version >= 2.4])
AC_TRY_COMPILE([
[
AC_MSG_RESULT([no])
])
+ fi
CFLAGS="$save_CFLAGS"
LIBS="$save_LIBS"
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
fi
+if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
+ AC_DEFINE(wxUSE_COLOURPICKERCTRL)
+ USES_CONTROLS=1
+fi
+
if test "$wxUSE_DATEPICKCTRL" = "yes"; then
AC_DEFINE(wxUSE_DATEPICKCTRL)
USES_CONTROLS=1
fi
+if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
+ AC_DEFINE(wxUSE_DIRPICKERCTRL)
+ USES_CONTROLS=1
+fi
+
+if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
+ AC_DEFINE(wxUSE_FILEPICKERCTRL)
+ USES_CONTROLS=1
+fi
+
+if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
+ AC_DEFINE(wxUSE_FONTPICKERCTRL)
+ USES_CONTROLS=1
+fi
+
if test "$wxUSE_DISPLAY" = "yes"; then
AC_DEFINE(wxUSE_DISPLAY)
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
- Added wxComboCtrl and wxOwnerDrawnComboBox (Jaakko Salli)
- Added wxTreebook (uses a wxTreeCtrl to control pages).
+- Added wxColour/Dir/File/Font/PickerCtrls (Francesco Montorsi)
- Added wxDC::GradientFillLinear/Concentric()
- Added wxHyperlinkCtrl (Francesco Montorsi)
- Added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE)
\twocolitem{\helpref{wxCheckListBox}{wxchecklistbox}}{A listbox with a checkbox to the left of each item}
\twocolitem{\helpref{wxChoice}{wxchoice}}{Choice control (a combobox without the editable area)}
\twocolitem{\helpref{wxComboBox}{wxcombobox}}{A choice with an editable area}
-\twocolitem{\helpref{wxDatePickerCtrl}{wxdatepickerctrl}}{Small date picker control}
\twocolitem{\helpref{wxGauge}{wxgauge}}{A control to represent a varying quantity, such as time remaining}
\twocolitem{\helpref{wxGenericDirCtrl}{wxgenericdirctrl}}{A control for displaying a directory tree}
\twocolitem{\helpref{wxHtmlListBox}{wxhtmllistbox}}{A listbox showing HTML content}
\twocolitem{\helpref{wxVListBox}{wxvlistbox}}{A listbox supporting variable height rows}
\end{twocollist}
+
+{\large {\bf Miscellaneous pickers}}
+
+A picker control is a control whose appearance and behaviour is highly platform-dependent.
+
+\twocolwidtha{6cm}
+\begin{twocollist}\itemsep=0pt
+\twocolitem{\helpref{wxColourPickerCtrl}{wxcolourpickerctrl}}{A control which allows the user to choose a colour}
+\twocolitem{\helpref{wxDirPickerCtrl}{wxdirpickerctrl}}{A control which allows the user to choose a directory}
+\twocolitem{\helpref{wxFilePickerCtrl}{wxfilepickerctrl}}{A control which allows the user to choose a file}
+\twocolitem{\helpref{wxFontPickerCtrl}{wxfontpickerctrl}}{A control which allows the user to choose a font}
+\twocolitem{\helpref{wxDatePickerCtrl}{wxdatepickerctrl}}{Small date picker control}
+\end{twocollist}
+
+
{\large {\bf Menus}}
\twocolwidtha{6cm}
\input choice.tex
\input choicebk.tex
\input clasinfo.tex
+\input clrpicker.tex
\input ipcclint.tex
\input clientdc.tex
\input clientdat.tex
\input dialup.tex
\input dir.tex
\input dirdlg.tex
+\input dirpicker.tex
\input dirtrav.tex
\input display.tex
\input dllload.tex
\input fileistr.tex
\input filename.tex
\input fileostr.tex
+\input filepicker.tex
\input filestrm.tex
\input filesys.tex
\input filesysh.tex
\input fontenum.tex
\input fontlist.tex
\input fontmap.tex
+\input fontpicker.tex
\input frame.tex
\input fsfile.tex
\input ftp.tex
\input passdlg.tex
\input pathlist.tex
\input pen.tex
+\input pickerbase.tex
\input point.tex
\input postscpt.tex
\input powerevt.tex
--- /dev/null
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Name: clrpicker.tex
+%% Purpose: wxColourPickerCtrl and wxColourPickerEvent documentation
+%% Author: Francesco Montorsi
+%% Created: 2006-04-17
+%% RCS-ID: $Id$
+%% Copyright: (c) 2006 Francesco Montorsi
+%% License: wxWindows license
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\section{\class{wxColourPickerCtrl}}\label{wxcolourpickerctrl}
+
+This control allows the user to select a colour. The generic implementation is
+a button which brings up a \helpref{wxColourDialog}{wxcolourdialog} when clicked. Native implementation
+may differ but this is usually a (small) widget which give access to the colour-chooser
+dialog.
+It is only available if \texttt{wxUSE\_COLOURPICKERCTRL} is set to $1$ (the default).
+
+\wxheading{Derived from}
+
+\helpref{wxPickerBase}{wxpickerbase}\\
+\helpref{wxControl}{wxcontrol}\\
+\helpref{wxWindow}{wxwindow}\\
+\helpref{wxEvtHandler}{wxevthandler}\\
+\helpref{wxObject}{wxobject}
+
+\wxheading{Include files}
+
+<wx/clrpicker.h>
+
+\wxheading{Window styles}
+
+\twocolwidtha{5cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{\windowstyle{wxCLRP\_DEFAULT}}{Default style.}
+\twocolitem{\windowstyle{wxCLRP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
+picker button which is completely managed by the \helpref{wxColourPickerCtrl}{wxcolourpickerctrl}
+and which can be used by the user to specify a colour (see \helpref{SetColour}{wxcolourpickerctrlsetcolour}).
+The text control is automatically synchronized with button's value. Use functions defined in \helpref{wxPickerBase}{wxpickerbase} to modify the text control.}
+\twocolitem{\windowstyle{wxCLRP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
+picker button which is completely managed by the \helpref{wxColourPickerCtrl}{wxcolourpickerctrl}
+and which can be used by the user to specify a colour (see \helpref{SetColour}{wxcolourpickerctrlsetcolour}).
+The text control is automatically synchronized with button's value. Use functions defined in \helpref{wxPickerBase}{wxpickerbase} to modify the text control.}
+\twocolitem{\windowstyle{wxCLRP\_SHOW\_LABEL}}{Shows the colour in HTML form (#AABBCC) as colour button label
+(instead of no label at all).}
+\end{twocollist}
+
+\wxheading{Event handling}
+
+\twocolwidtha{7cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{{\bf EVT\_COLOURPICKER\_CHANGED(id, func)}}{The user changed the
+colour selected in the control either using the button or using text control
+(see wxCLRP\_USE\_TEXTCTRL; note that in this case the event is fired only if
+the user's input is valid, i.e. recognizable). }
+\end{twocollist}
+
+\wxheading{See also}
+
+\helpref{wxColourDialog}{wxcolourdialog},\\
+\helpref{wxColourPickerEvent}{wxcolourpickerevent}
+
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxColourPickerCtrl::wxColourPickerCtrl}\label{wxcolourpickerctrl}
+
+\func{}{wxColourPickerCtrl}{\param{wxWindow *}{parent},\rtfsp
+\param{wxWindowID}{ id},\rtfsp
+\param{const wxColour\& }{colour = *wxBLACK},\rtfsp
+\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
+\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
+\param{long}{ style = wxCP\_DEFAULT\_STYLE},\rtfsp
+\param{const wxValidator\& }{validator = wxDefaultValidator},
+\param{const wxString\& }{name = ``colourpickerctrl"}}
+
+Initializes the object and calls \helpref{Create}{wxcolourpickerctrlcreate} with
+all the parameters.
+
+
+\membersection{wxColourPickerCtrl::Create}\label{wxcolourpickerctrlcreate}
+
+\func{bool}{Create}{\param{wxWindow *}{parent},\rtfsp
+\param{wxWindowID}{ id},\rtfsp
+\param{const wxColour\& }{colour = *wxBLACK},\rtfsp
+\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
+\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
+\param{long}{ style = wxCP\_DEFAULT\_STYLE},\rtfsp
+\param{const wxValidator\& }{validator = wxDefaultValidator},
+\param{const wxString\& }{name = ``colourpickerctrl"}}
+
+\wxheading{Parameters}
+
+\docparam{parent}{Parent window, must not be non-\texttt{NULL}.}
+
+\docparam{id}{The identifier for the control.}
+
+\docparam{colour}{The initial colour shown in the control.}
+
+\docparam{pos}{Initial position.}
+
+\docparam{size}{Initial size.}
+
+\docparam{style}{The window style, see wxCRLP\_* flags.}
+
+\docparam{validator}{Validator which can be used for additional date checks.}
+
+\docparam{name}{Control name.}
+
+\wxheading{Return value}
+
+\true if the control was successfully created or \false if creation failed.
+
+
+\membersection{wxColourPickerCtrl::GetColour}\label{wxcolourpickerctrlgetcolour}
+
+\constfunc{wxColour}{GetColour}{\void}
+
+Returns the currently selected colour.
+
+
+\membersection{wxColourPickerCtrl::SetColour}\label{wxcolourpickerctrlsetcolour}
+
+\func{void}{SetColour}{\param{const wxColour \&}{col}}
+
+\func{void}{SetColour}{\param{const wxString \&}{colname}}
+
+Sets the currently selected colour. See \helpref{wxColour::Set}{wxcolourset}.
+
+
+
+
+%% wxColourPickerEvent documentation
+
+\section{\class{wxColourPickerEvent}}\label{wxcolourpickerevent}
+
+This event class is used for the events generated by
+\helpref{wxColourPickerCtrl}{wxcolourpickerctrl}.
+
+\wxheading{Derived from}
+
+\helpref{wxCommandEvent}{wxcommandevent}\\
+\helpref{wxEvent}{wxevent}\\
+\helpref{wxObject}{wxobject}
+
+\wxheading{Include files}
+
+<wx/clrpicker.h>
+
+\wxheading{Event handling}
+
+To process input from a wxColourPickerCtrl, use one of these event handler macros to
+direct input to member function that take a
+\helpref{wxColourPickerEvent}{wxcolourpickerevent} argument:
+
+\twocolwidtha{7cm}
+\begin{twocollist}
+\twocolitem{{\bf EVT\_COLOURPICKER\_CHANGED(id, func)}}{Generated whenever the selected colour changes.}
+\end{twocollist}%
+
+
+\wxheading{See also}
+
+\helpref{wxColourPickerCtrl}{wxcolourpickerctrl}
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxColourPickerEvent::wxColourPickerEvent}\label{wxcolourpickereventctor}
+
+\func{}{wxColourPickerEvent}{\param{wxObject *}{ generator}, \param{int}{ id}, \param{const wxColour\&}{ colour}}
+
+The constructor is not normally used by the user code.
+
+
+\membersection{wxColourPickerEvent::GetColour}\label{wxcolourpickereventgetcolour}
+
+\constfunc{wxColour}{GetColour}{\void}
+
+Retrieve the colour the user has just selected.
+
+
+\membersection{wxColourPickerEvent::SetColour}\label{wxcolourpickereventsetcolour}
+
+\func{void}{SetColour}{\param{const wxColour \&}{pos}}
+
+Set the colour associated with the event.
+
--- /dev/null
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Name: dirpicker.tex
+%% Purpose: wxDirPickerCtrl documentation
+%% Author: Francesco Montorsi
+%% Created: 2006-05-12
+%% RCS-ID: $Id$
+%% Copyright: (c) 2006 Francesco Montorsi
+%% License: wxWindows license
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\section{\class{wxDirPickerCtrl}}\label{wxdirpickerctrl}
+
+This control allows the user to select a directory. The generic implementation is
+a button which brings up a \helpref{wxDirDialog}{wxdirdialog} when clicked. Native implementation
+may differ but this is usually a (small) widget which give access to the dir-chooser
+dialog.
+It is only available if \texttt{wxUSE\_DIRPICKERCTRL} is set to $1$ (the default).
+
+\wxheading{Derived from}
+
+\helpref{wxPickerBase}{wxpickerbase}\\
+\helpref{wxControl}{wxcontrol}\\
+\helpref{wxWindow}{wxwindow}\\
+\helpref{wxEvtHandler}{wxevthandler}\\
+\helpref{wxObject}{wxobject}
+
+\wxheading{Include files}
+
+<wx/filepicker.h>
+
+\wxheading{Window styles}
+
+\twocolwidtha{5cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{\windowstyle{wxDIRP\_DEFAULT\_STYLE}}{Default style.}
+\twocolitem{\windowstyle{wxDIRP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
+picker button which is completely managed by the \helpref{wxDirPickerCtrl}{wxdirpickerctrl}
+and which can be used by the user to specify a path (see \helpref{SetPath}{wxdirpickerctrlsetpath}).
+The text control is automatically synchronized with button's value. Use functions defined in \helpref{wxPickerBase}{wxpickerbase} to modify the text control.}
+
+\twocolitem{\windowstyle{wxDIRP\_DIR\_MUST\_EXIST}}{Creates a picker which allows to select only existing directories. wxGTK control always adds this flag internally as it does not support its absence.}
+\twocolitem{\windowstyle{wxDIRP\_CHANGE\_DIR}}{Change current working directory on each user directory selection change.}
+
+\end{twocollist}
+
+\wxheading{Event handling}
+
+\twocolwidtha{7cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{{\bf EVT\_DIRPICKER\_CHANGED(id, func)}}{The user changed the directory selected in the control either using the button or using text control (see wxDIRP_USE_TEXTCTRL; note that in this case the event is fired only if the user's input is valid, e.g. an existing directory path).}
+\end{twocollist}
+
+\wxheading{See also}
+
+\helpref{wxDirDialog}{wxdirdialog},\\
+\helpref{wxFileDirPickerEvent}{wxfiledirpickerevent}
+
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxDirPickerCtrl::wxDirPickerCtrl}\label{wxdirpickerctrl}
+
+\func{}{wxdirpickerctrl}{\param{wxWindow *}{parent},\rtfsp
+\param{wxWindowID}{ id},\rtfsp
+\param{const wxString\& }{path = wxEmptyString},\rtfsp
+\param{const wxString\& }{message = ``Select a folder"},\rtfsp
+\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
+\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
+\param{long}{ style = wxDIRP\_DEFAULT\_STYLE},\rtfsp
+\param{const wxValidator\& }{validator = wxDefaultValidator},
+\param{const wxString\& }{name = ``dirpickerctrl"}}
+
+Initializes the object and calls \helpref{Create}{wxdirpickerctrlcreate} with
+all the parameters.
+
+
+\membersection{wxDirPickerCtrl::Create}\label{wxdirpickerctrlcreate}
+
+\func{bool}{Create}{\param{wxWindow *}{parent},\rtfsp
+\param{wxWindowID}{ id},\rtfsp
+\param{const wxString\& }{path = wxEmptyString},\rtfsp
+\param{const wxString\& }{message = ``Select a folder"},\rtfsp
+\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
+\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
+\param{long}{ style = wxDIRP\_DEFAULT\_STYLE},\rtfsp
+\param{const wxValidator\& }{validator = wxDefaultValidator},
+\param{const wxString\& }{name = ``dirpickerctrl"}}
+
+\wxheading{Parameters}
+
+\docparam{parent}{Parent window, must not be non-\texttt{NULL}.}
+
+\docparam{id}{The identifier for the control.}
+
+\docparam{path}{The initial directory shown in the control. Must be a valid path to a directory or the empty string.}
+
+\docparam{message}{The message shown to the user in the \helpref{wxFileDialog}{wxfiledialog} shown by the control.}
+
+\docparam{pos}{Initial position.}
+
+\docparam{size}{Initial size.}
+
+\docparam{style}{The window style, see wxDIRP\_* flags.}
+
+\docparam{validator}{Validator which can be used for additional date checks.}
+
+\docparam{name}{Control name.}
+
+\wxheading{Return value}
+
+\true if the control was successfully created or \false if creation failed.
+
+
+\membersection{wxDirPickerCtrl::GetPath}\label{wxdirpickerctrlgetpath}
+
+\constfunc{wxString}{GetPath}{\void}
+
+Returns the currently selected directory.
+
+
+\membersection{wxDirPickerCtrl::SetPath}\label{wxdirpickerctrlsetpath}
+
+\func{void}{SetPath}{\param{const wxString \&}{dirname}}
+
+Sets the currently selected directory. This must be a valid directory.
+
+
--- /dev/null
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Name: filepicker.tex
+%% Purpose: wxFilePickerCtrl and wxFileDirPickerEvent documentation
+%% Author: Francesco Montorsi
+%% Created: 2006-05-12
+%% RCS-ID: $Id$
+%% Copyright: (c) 2006 Francesco Montorsi
+%% License: wxWindows license
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\section{\class{wxFilePickerCtrl}}\label{wxfilepickerctrl}
+
+This control allows the user to select a file. The generic implementation is
+a button which brings up a \helpref{wxFileDialog}{wxfiledialog} when clicked. Native implementation
+may differ but this is usually a (small) widget which give access to the file-chooser
+dialog.
+It is only available if \texttt{wxUSE\_FILEPICKERCTRL} is set to $1$ (the default).
+
+\wxheading{Derived from}
+
+\helpref{wxPickerBase}{wxpickerbase}\\
+\helpref{wxControl}{wxcontrol}\\
+\helpref{wxWindow}{wxwindow}\\
+\helpref{wxEvtHandler}{wxevthandler}\\
+\helpref{wxObject}{wxobject}
+
+\wxheading{Include files}
+
+<wx/filepicker.h>
+
+\wxheading{Window styles}
+
+\twocolwidtha{5cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{\windowstyle{wxFLP\_DEFAULT\_STYLE}}{Default style.}
+\twocolitem{\windowstyle{wxFLP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
+picker button which is completely managed by the \helpref{wxFilePickerCtrl}{wxfilepickerctrl}
+and which can be used by the user to specify a path (see \helpref{SetPath}{wxfilepickerctrlsetpath}).
+The text control is automatically synchronized with button's value. Use functions defined in \helpref{wxPickerBase}{wxpickerbase} to modify the text control.}
+\twocolitem{\windowstyle{wxFLP\_OPEN}}{Creates a picker which allows the user to select a file to open.}
+\twocolitem{\windowstyle{wxFLP\_SAVE}}{Creates a picker which allows the user to select a file to save.}
+\twocolitem{\windowstyle{wxFLP\_OVERWRITE\_PROMPT}}{Can be combined with wxFLP\_SAVE only: ask confirmation to the user before selecting a file.}
+\twocolitem{\windowstyle{wxFLP\_FILE\_MUST\_EXIST}}{Can be combined with wxFLP\_OPEN only: the selected file must be an existing file.}
+\twocolitem{\windowstyle{wxFLP\_CHANGE\_DIR}}{Change current working directory on each user file selection change.}
+
+NB: the wxFD\_MULTIPLE style of wxFileDialog is not supported!
+
+\end{twocollist}
+
+\wxheading{Event handling}
+
+\twocolwidtha{7cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{{\bf EVT\_FILEPICKER\_CHANGED(id, func)}}{The user changed the file
+selected in the control either using the button or using text control (see
+wxFILEP\_USE\_TEXTCTRL; note that in this case the event is fired only if the
+user's input is valid, e.g. an existing file path if wxFILEP\_FILE\_MUST\_EXIST
+was given).}
+\end{twocollist}
+
+\wxheading{See also}
+
+\helpref{wxFileDialog}{wxfiledialog},\\
+\helpref{wxFileDirPickerEvent}{wxfiledirpickerevent}
+
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxFilePickerCtrl::wxFilePickerCtrl}\label{wxfilepickerctrl}
+
+\func{}{wxfilepickerctrl}{\param{wxWindow *}{parent},\rtfsp
+\param{wxWindowID}{ id},\rtfsp
+\param{const wxString\& }{path = wxEmptyString},\rtfsp
+\param{const wxString\& }{message = ``Select a file"},\rtfsp
+\param{const wxString\& }{wildcard = ``*.*"},\rtfsp
+\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
+\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
+\param{long}{ style = wxFILEP\_DEFAULT\_STYLE},\rtfsp
+\param{const wxValidator\& }{validator = wxDefaultValidator},
+\param{const wxString\& }{name = ``filepickerctrl"}}
+
+Initializes the object and calls \helpref{Create}{wxfilepickerctrlcreate} with
+all the parameters.
+
+
+\membersection{wxFilePickerCtrl::Create}\label{wxfilepickerctrlcreate}
+
+\func{bool}{Create}{\param{wxWindow *}{parent},\rtfsp
+\param{wxWindowID}{ id},\rtfsp
+\param{const wxString\& }{path = wxEmptyString},\rtfsp
+\param{const wxString\& }{message = ``Select a file"},\rtfsp
+\param{const wxString\& }{wildcard = ``*.*"},\rtfsp
+\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
+\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
+\param{long}{ style = wxFILEP\_DEFAULT\_STYLE},\rtfsp
+\param{const wxValidator\& }{validator = wxDefaultValidator},
+\param{const wxString\& }{name = ``filepickerctrl"}}
+
+\wxheading{Parameters}
+
+\docparam{parent}{Parent window, must not be non-\texttt{NULL}.}
+
+\docparam{id}{The identifier for the control.}
+
+\docparam{path}{The initial file shown in the control. Must be a valid path to a file or the empty string.}
+
+\docparam{message}{The message shown to the user in the \helpref{wxFileDialog}{wxfiledialog} shown by the control.}
+
+\docparam{wildcard}{A wildcard which defines user-selectable files (use the same syntax as for \helpref{wxFileDialog}{wxfiledialog}'s wildcards.}
+
+\docparam{pos}{Initial position.}
+
+\docparam{size}{Initial size.}
+
+\docparam{style}{The window style, see wxFILEP\_* flags.}
+
+\docparam{validator}{Validator which can be used for additional date checks.}
+
+\docparam{name}{Control name.}
+
+\wxheading{Return value}
+
+\true if the control was successfully created or \false if creation failed.
+
+
+\membersection{wxFilePickerCtrl::GetPath}\label{wxfilepickerctrlgetpath}
+
+\constfunc{wxString}{GetPath}{\void}
+
+Returns the currently selected file.
+
+
+\membersection{wxFilePickerCtrl::SetPath}\label{wxfilepickerctrlsetpath}
+
+\func{void}{SetPath}{\param{const wxString \&}{filename}}
+
+Sets the currently selected file. This must be a valid file if
+wxFILEP\_FILE\_MUST\_EXIST style was given.
+
+
+
+%% wxFileDirPickerEvent documentation
+
+\section{\class{wxFileDirPickerEvent}}\label{wxfiledirpickerevent}
+
+This event class is used for the events generated by
+\helpref{wxFilePickerCtrl}{wxfilepickerctrl} and by \helpref{wxDirPickerCtrl}{wxdirpickerctrl}.
+
+\wxheading{Derived from}
+
+\helpref{wxCommandEvent}{wxcommandevent}\\
+\helpref{wxEvent}{wxevent}\\
+\helpref{wxObject}{wxobject}
+
+\wxheading{Include files}
+
+<wx/filepicker.h>
+
+\wxheading{Event handling}
+
+To process input from a wxFilePickerCtrl or from a wxDirPickerCtrl, use one of these event handler macros to
+direct input to member function that take a \helpref{wxFileDirPickerEvent}{wxfiledirpickerevent} argument:
+
+\twocolwidtha{7cm}
+\begin{twocollist}
+\twocolitem{{\bf EVT\_FILEPICKER\_CHANGED(id, func)}}{Generated whenever the selected file changes.}
+\twocolitem{{\bf EVT\_DIRPICKER\_CHANGED(id, func)}}{Generated whenever the selected directory changes.}
+\end{twocollist}%
+
+
+\wxheading{See also}
+
+\helpref{wxfilepickerctrl}{wxfilepickerctrl}
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxFileDirPickerEvent::wxFileDirPickerEvent}\label{wxfiledirpickereventctor}
+
+\func{}{wxFileDirPickerEvent}{\param{wxEventType}{ type}, \param{wxObject *}{ generator}, \param{int}{ id}, \param{const wxString&}{ path}}
+
+The constructor is not normally used by the user code.
+
+
+\membersection{wxFileDirPickerEvent::GetPath}\label{wxfiledirpickereventgetpath}
+
+\constfunc{wxString}{GetPath}{\void}
+
+Retrieve the file/directory the user has just selected.
+
+
+\membersection{wxFileDirPickerEvent::SetPath}\label{wxfiledirpickereventsetpath}
+
+\func{void}{SetPath}{\param{const wxString \&}{path}}
+
+Set the file/directory associated with the event.
--- /dev/null
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Name: fontpicker.tex
+%% Purpose: wxFontPickerCtrl and wxFontPickerEvent documentation
+%% Author: Francesco Montorsi
+%% Created: 2006-04-17
+%% RCS-ID: $Id$
+%% Copyright: (c) 2006 Francesco Montorsi
+%% License: wxWindows license
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\section{\class{wxFontPickerCtrl}}\label{wxfontpickerctrl}
+
+This control allows the user to select a font. The generic implementation is
+a button which brings up a \helpref{wxFontDialog}{wxfontdialog} when clicked. Native implementation
+may differ but this is usually a (small) widget which give access to the font-chooser
+dialog.
+It is only available if \texttt{wxUSE\_FONTPICKERCTRL} is set to $1$ (the default).
+
+\wxheading{Derived from}
+
+\helpref{wxPickerBase}{wxpickerbase}\\
+\helpref{wxControl}{wxcontrol}\\
+\helpref{wxWindow}{wxwindow}\\
+\helpref{wxEvtHandler}{wxevthandler}\\
+\helpref{wxObject}{wxobject}
+
+\wxheading{Include files}
+
+<wx/fontpicker.h>
+
+\wxheading{Window styles}
+
+\twocolwidtha{5cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{\windowstyle{wxFONTP\_DEFAULT}}{Default style.}
+\twocolitem{\windowstyle{wxFONTP\_USE\_TEXTCTRL}}{Creates a text control to the left of the
+picker button which is completely managed by the \helpref{wxFontPickerCtrl}{wxfontpickerctrl}
+and which can be used by the user to specify a font (see \helpref{SetSelectedFont}{wxfontpickerctrlsetselectedfont}).
+The text control is automatically synchronized with button's value. Use functions defined in \helpref{wxPickerBase}{wxpickerbase} to modify the text control.}
+\twocolitem{\windowstyle{wxFONTP\_FONTDESC\_AS\_LABEL}}{Keeps the label of the button updated with the fontface name and the font size. E.g. choosing "Times New Roman bold, italic with size 10" from the fontdialog, will update the label (overwriting any previous label) with the "Times New Roman, 10" text.}
+\twocolitem{\windowstyle{wxFONTP\_USEFONT\_FOR\_LABEL}}{Uses the currently selected font to draw the label of the button.}
+\end{twocollist}
+
+\wxheading{Event handling}
+
+\twocolwidtha{7cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{{\bf EVT\_FONTPICKER\_CHANGED(id, func)}}{The user changed the font
+selected in the control either using the button or using text control (see
+wxFONTP\_USE\_TEXTCTRL; note that in this case the event is fired only if the
+user's input is valid, i.e. recognizable). }
+\end{twocollist}
+
+\wxheading{See also}
+
+\helpref{wxFontDialog}{wxfontdialog},\\
+\helpref{wxFontPickerEvent}{wxfontpickerevent}
+
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxFontPickerCtrl::wxFontPickerCtrl}\label{wxfontpickerctrl}
+
+\func{}{wxFontPickerCtrl}{\param{wxWindow *}{parent},\rtfsp
+\param{wxWindowID}{ id},\rtfsp
+\param{const wxFont\& }{font = *wxNORMAL\_FONT},\rtfsp
+\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
+\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
+\param{long}{ style = wxFONTP\_DEFAULT\_STYLE},\rtfsp
+\param{const wxValidator\& }{validator = wxDefaultValidator},
+\param{const wxString\& }{name = ``fontpickerctrl"}}
+
+Initializes the object and calls \helpref{Create}{wxfontpickerctrlcreate} with
+all the parameters.
+
+
+\membersection{wxFontPickerCtrl::Create}\label{wxfontpickerctrlcreate}
+
+\func{bool}{Create}{\param{wxWindow *}{parent},\rtfsp
+\param{wxWindowID}{ id},\rtfsp
+\param{const wxFont\& }{font = *wxNORMAL\_FONT},\rtfsp
+\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp
+\param{const wxSize\& }{size = wxDefaultSize},\rtfsp
+\param{long}{ style = wxFONTP\_DEFAULT\_STYLE},\rtfsp
+\param{const wxValidator\& }{validator = wxDefaultValidator},
+\param{const wxString\& }{name = ``fontpickerctrl"}}
+
+\wxheading{Parameters}
+
+\docparam{parent}{Parent window, must not be non-\texttt{NULL}.}
+
+\docparam{id}{The identifier for the control.}
+
+\docparam{font}{The initial font shown in the control.}
+
+\docparam{pos}{Initial position.}
+
+\docparam{size}{Initial size.}
+
+\docparam{style}{The window style, see wxCRLP\_* flags.}
+
+\docparam{validator}{Validator which can be used for additional date checks.}
+
+\docparam{name}{Control name.}
+
+\wxheading{Return value}
+
+\true if the control was successfully created or \false if creation failed.
+
+
+\membersection{wxFontPickerCtrl::GetSelectedFont}\label{wxfontpickerctrlgetselectedfont}
+
+\constfunc{wxFont}{GetSelectedFont}{\void}
+
+Returns the currently selected font.
+Note that this function is completely different from \helpref{wxWindow::GetFont}{wxwindowgetfont}.
+
+
+\membersection{wxFontPickerCtrl::SetSelectedFont}\label{wxfontpickerctrlsetselectedfont}
+
+\func{void}{SetSelectedFont}{\param{const wxFont \&}{font}}
+
+Sets the currently selected font.
+Note that this function is completely different from \helpref{wxWindow::SetFont}{wxwindowsetfont}.
+
+
+\membersection{wxFontPickerCtrl::GetMaxPointSize}\label{wxfontpickerctrlgetmaxpointsize}
+
+\constfunc{unsigned int}{GetMaxPointSize}{\void}
+
+Returns the maximum point size value allowed for the user-chosen font.
+
+
+\membersection{wxFontPickerCtrl::SetMaxPointSize}\label{wxfontpickerctrlsetmaxpointsize}
+
+\func{void}{GetMaxPointSize}{\param{unsigned int}{ max}}
+
+Sets the maximum point size value allowed for the user-chosen font.
+The default value is 100. Note that big fonts can require a lot of memory and CPU time
+both for creation and for rendering; thus, specially because the user has the option to specify
+the fontsize through a text control (see wxFONTP\_USE\_TEXTCTRL), it's a good idea to put a limit
+to the maximum font size when huge fonts do not make much sense.
+
+
+
+
+%% wxFontPickerEvent documentation
+
+\section{\class{wxFontPickerEvent}}\label{wxfontpickerevent}
+
+This event class is used for the events generated by
+\helpref{wxFontPickerCtrl}{wxfontpickerctrl}.
+
+\wxheading{Derived from}
+
+\helpref{wxCommandEvent}{wxcommandevent}\\
+\helpref{wxEvent}{wxevent}\\
+\helpref{wxObject}{wxobject}
+
+\wxheading{Include files}
+
+<wx/clrpicker.h>
+
+\wxheading{Event handling}
+
+To process input from a wxFontPickerCtrl, use one of these event handler macros to
+direct input to member function that take a
+\helpref{wxFontPickerEvent}{wxfontpickerevent} argument:
+
+\twocolwidtha{7cm}
+\begin{twocollist}
+\twocolitem{{\bf EVT\_FONTPICKER\_CHANGED(id, func)}}{Generated whenever the selected font changes.}
+\end{twocollist}%
+
+
+\wxheading{See also}
+
+\helpref{wxFontPickerCtrl}{wxfontpickerctrl}
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxFontPickerEvent::wxFontPickerEvent}\label{wxfontpickereventctor}
+
+\func{}{wxFontPickerEvent}{\param{wxObject *}{ generator}, \param{int}{ id}, \param{const wxFont\&}{ font}}
+
+The constructor is not normally used by the user code.
+
+
+\membersection{wxFontPickerEvent::GetFont}\label{wxfontpickereventgetfont}
+
+\constfunc{wxFont}{GetFont}{\void}
+
+Retrieve the font the user has just selected.
+
+
+\membersection{wxFontPickerEvent::SetFont}\label{wxfontpickereventsetfont}
+
+\func{void}{SetFont}{\param{const wxFont \&}{ f}}
+
+Set the font associated with the event.
--- /dev/null
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Name: pickerbase.tex
+%% Purpose: wxPickerBase documentation
+%% Author: Francesco Montorsi
+%% Created: 2006-04-18
+%% RCS-ID: $Id$
+%% Copyright: (c) 2006 Francesco Montorsi
+%% License: wxWindows license
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\section{\class{wxPickerBase}}\label{wxpickerbase}
+
+Base abstract class for all pickers which support an auxiliary text control.
+This class handles all positioning and sizing of the text control like a
+an horizontal \helpref{wxBoxSizer}{wxboxsizer} would do, with the text control on
+the left of the picker button and the proportion of the picker fixed to value 1.
+
+\wxheading{Derived from}
+
+\helpref{wxControl}{wxcontrol}\\
+\helpref{wxWindow}{wxwindow}\\
+\helpref{wxEvtHandler}{wxevthandler}\\
+\helpref{wxObject}{wxobject}
+
+\wxheading{Include files}
+
+<wx/pickerbase.h>
+
+\wxheading{Window styles}
+
+\twocolwidtha{5cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{\windowstyle{wxPB\_USE\_TEXTCTRL}}{Creates a text control to the left of the
+picker which is completely managed by this \helpref{wxPickerBase}{wxpickerbase}
+class.}
+\end{twocollist}
+
+\wxheading{See also}
+
+\helpref{wxColourPickerCtrl}{wxcolourpickerctrl}
+
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxPickerBase::SetInternalMargin}\label{wxpickerbasesetinternalmargin}
+
+\func{void}{SetInternalMargin}{\param{int}{margin}}
+
+Sets the margin (in pixel) between the picker and the text control.
+
+
+\membersection{wxPickerBase::GetInternalMargin}\label{wxpickerbasegetinternalmargin}
+
+\constfunc{int}{GetInternalMargin}{}
+
+Returns the margin (in pixel) between the picker and the text control.
+
+
+\membersection{wxPickerBase::SetTextCtrlProportion}\label{wxpickerbasesettextctrlproportion}
+
+\func{void}{SetTextCtrlProportion}{\param{int}{prop}}
+
+Sets the proportion between the text control and the picker.
+Look at the overview of wxPickerBase for more details about this.
+
+
+\membersection{wxPickerBase::GetTextCtrlProportion}\label{wxpickerbasesgettextctrlproportion}
+
+\constfunc{int}{GetTextCtrlProportion}{}
+
+Returns the proportion between the text control and the picker.
+
+
+\membersection{wxPickerBase::HasTextCtrl}\label{wxpickerbaseshastextctrl}
+
+\constfunc{bool}{HasTextCtrl}{}
+
+Returns true if this class has a valid text control (i.e. if the \windowstyle{wxPB\_USE\_TEXTCTRL} style was
+given when creating this control).
+
+
+\membersection{wxPickerBase::GetTextCtrl}\label{wxpickerbasesgetextctrl}
+
+\func{wxTextCtrl *}{GetTextCtrl}{}
+
+Returns a pointer to the text control handled by this class or \texttt{NULL} if the \windowstyle{wxPB\_USE\_TEXTCTRL} style was not specified when this control was created.
+Very important: the contents of the text control could be containing an invalid representation of the entity which can be chosen through the picker (e.g. the user entered an invalid colour syntax because of a typo). Thus you should never parse the content of the textctrl to get the user's input; rather use the derived-class getter (e.g. \helpref{wxColourPickerCtrl::GetColour}{wxcolourpickerctrlgetcolour}, \helpref{wxFilePickerCtrl::GetPath}{wxfilepickerctrlgetpath}, etc).
# endif
#endif /* !defined(wxUSE_COLOURDLG) */
+#ifndef wxUSE_COLOURPICKERCTRL
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_COLOURPICKERCTRL must be defined."
+# else
+# define wxUSE_COLOURPICKERCTRL 0
+# endif
+#endif /* !defined(wxUSE_COLOURPICKERCTRL) */
+
#ifndef wxUSE_COMBOBOX
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_COMBOBOX must be defined."
# endif
#endif /* !defined(wxUSE_DATEPICKCTRL) */
+#ifndef wxUSE_DIRPICKERCTRL
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_DIRPICKERCTRL must be defined."
+# else
+# define wxUSE_DIRPICKERCTRL 0
+# endif
+#endif /* !defined(wxUSE_DIRPICKERCTRL) */
+
#ifndef wxUSE_DISPLAY
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_DISPLAY must be defined."
# endif
#endif /* !defined(wxUSE_FILEDLG) */
+#ifndef wxUSE_FILEPICKERCTRL
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_FILEPICKERCTRL must be defined."
+# else
+# define wxUSE_FILEPICKERCTRL 0
+# endif
+#endif /* !defined(wxUSE_FILEPICKERCTRL) */
+
#ifndef wxUSE_FONTDLG
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_FONTDLG must be defined."
# endif
#endif /* !defined(wxUSE_FONTMAP) */
+#ifndef wxUSE_FONTPICKERCTRL
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_FONTPICKERCTRL must be defined."
+# else
+# define wxUSE_FONTPICKERCTRL 0
+# endif
+#endif /* !defined(wxUSE_FONTPICKERCTRL) */
+
#ifndef wxUSE_GAUGE
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_GAUGE must be defined."
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/clrpicker.h
+// Purpose: wxColourPickerCtrl base header
+// Author: Francesco Montorsi (based on Vadim Zeitlin's code)
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Vadim Zeitlin, Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_CLRPICKER_H_BASE_
+#define _WX_CLRPICKER_H_BASE_
+
+#include "wx/defs.h"
+
+
+#if wxUSE_COLOURPICKERCTRL
+
+#include "wx/control.h"
+#include "wx/pickerbase.h"
+
+
+class WXDLLIMPEXP_CORE wxColourPickerEvent;
+
+extern WXDLLEXPORT_DATA(const wxChar) wxColourPickerWidgetNameStr[];
+extern WXDLLEXPORT_DATA(const wxChar) wxColourPickerCtrlNameStr[];
+
+
+// ----------------------------------------------------------------------------
+// wxColourPickerWidgetBase: a generic abstract interface which must be
+// implemented by controls used by wxColourPickerCtrl
+// ----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxColourPickerWidgetBase
+{
+public:
+ wxColourPickerWidgetBase() { m_colour = *wxBLACK; }
+ virtual ~wxColourPickerWidgetBase() {}
+
+ wxColour GetColour() const
+ { return m_colour; }
+ virtual void SetColour(const wxColour &col)
+ { m_colour = col; UpdateColour(); }
+ virtual void SetColour(const wxString &col)
+ { m_colour.Set(col); UpdateColour(); }
+
+protected:
+
+ virtual void UpdateColour() = 0;
+
+ // the current colour (may be invalid if none)
+ wxColour m_colour;
+};
+
+
+// Styles which must be supported by all controls implementing wxColourPickerWidgetBase
+// NB: these styles must be defined to carefully-chosen values to
+// avoid conflicts with wxButton's styles
+
+// show the colour in HTML form (#AABBCC) as colour button label
+// (instead of no label at all)
+// NOTE: this style is supported just by wxColourButtonGeneric and
+// thus is not exposed in wxColourPickerCtrl
+#define wxCLRP_SHOW_LABEL 0x0008
+
+// map platform-dependent controls which implement the wxColourPickerWidgetBase
+// under the name "wxColourPickerWidget".
+// NOTE: wxColourPickerCtrl allocates a wxColourPickerWidget and relies on the
+// fact that all classes being mapped as wxColourPickerWidget have the
+// same prototype for their contructor (and also explains why we use
+// define instead of a typedef)
+#if defined(__WXGTK24__) // since GTK > 2.4, there is GtkColorButton
+ #include "wx/gtk/clrpicker.h"
+ #define wxColourPickerWidget wxColourButton
+#else
+ #include "wx/generic/clrpickerg.h"
+ #define wxColourPickerWidget wxGenericColourButton
+#endif
+
+
+// ----------------------------------------------------------------------------
+// wxColourPickerCtrl: platform-independent class which embeds a
+// platform-dependent wxColourPickerWidget and, if wxCLRP_USE_TEXTCTRL style is
+// used, a textctrl next to it.
+// ----------------------------------------------------------------------------
+
+#define wxCLRP_USE_TEXTCTRL wxPB_USE_TEXTCTRL
+#define wxCLRP_DEFAULT_STYLE 0
+
+class WXDLLIMPEXP_CORE wxColourPickerCtrl : public wxPickerBase
+{
+public:
+ wxColourPickerCtrl() : m_bIgnoreNextTextCtrlUpdate(false) {}
+ virtual ~wxColourPickerCtrl() {}
+
+
+ wxColourPickerCtrl(wxWindow *parent, wxWindowID id,
+ const wxColour& col = *wxBLACK, const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = wxCLRP_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxColourPickerCtrlNameStr)
+ : m_bIgnoreNextTextCtrlUpdate(false)
+ { Create(parent, id, col, pos, size, style, validator, name); }
+
+ bool Create(wxWindow *parent, wxWindowID id,
+ const wxColour& col = *wxBLACK,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxCLRP_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxColourPickerCtrlNameStr);
+
+
+public: // public API
+
+ // get the colour chosen
+ wxColour GetColour() const
+ { return ((wxColourPickerWidget *)m_picker)->GetColour(); }
+
+ // set currently displayed color
+ void SetColour(const wxColour& col);
+
+ // set colour using RGB(r,g,b) syntax or considering given text as a colour name;
+ // returns true if the given text was successfully recognized.
+ bool SetColour(const wxString& text);
+
+
+public: // internal functions
+
+ // update the button colour to match the text control contents
+ void UpdatePickerFromTextCtrl();
+
+ // update the text control to match the button's colour
+ void UpdateTextCtrlFromPicker();
+
+ // event handler for our picker
+ void OnColourChange(wxColourPickerEvent &);
+
+ virtual long GetPickerStyle(long style) const
+ { return (style & wxCLRP_SHOW_LABEL); }
+
+protected:
+
+ // true if the next UpdateTextCtrl() call is to ignore
+ bool m_bIgnoreNextTextCtrlUpdate;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxColourPickerCtrl)
+};
+
+
+// ----------------------------------------------------------------------------
+// wxColourPickerEvent: used by wxColourPickerCtrl only
+// ----------------------------------------------------------------------------
+
+BEGIN_DECLARE_EVENT_TYPES()
+ DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_CORE, wxEVT_COMMAND_COLOURPICKER_CHANGED, 1102)
+END_DECLARE_EVENT_TYPES()
+
+class WXDLLIMPEXP_CORE wxColourPickerEvent : public wxCommandEvent
+{
+public:
+ wxColourPickerEvent() {}
+ wxColourPickerEvent(wxObject *generator, int id, const wxColour &col)
+ : wxCommandEvent(wxEVT_COMMAND_COLOURPICKER_CHANGED, id),
+ m_colour(col)
+ {
+ SetEventObject(generator);
+ }
+
+ wxColour GetColour() const { return m_colour; }
+ void SetColour(const wxColour &c) { m_colour = c; }
+
+private:
+ wxColour m_colour;
+
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourPickerEvent)
+};
+
+// ----------------------------------------------------------------------------
+// event types and macros
+// ----------------------------------------------------------------------------
+
+typedef void (wxEvtHandler::*wxColourPickerEventFunction)(wxColourPickerEvent&);
+
+#define wxColourPickerEventHandler(func) \
+ (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxColourPickerEventFunction, &func)
+
+#define EVT_COLOURPICKER_CHANGED(id, fn) \
+ wx__DECLARE_EVT1(wxEVT_COMMAND_COLOURPICKER_CHANGED, id, wxColourPickerEventHandler(fn))
+
+#ifdef _WX_DEFINE_DATE_EVENTS_
+ DEFINE_EVENT_TYPE(wxEVT_COMMAND_COLOURPICKER_CHANGED)
+
+ IMPLEMENT_DYNAMIC_CLASS(wxColourPickerEvent, wxCommandEvent)
+#endif
+
+
+
+#endif // wxUSE_COLOURPICKERCTRL
+
+#endif // _WX_CLRPICKER_H_BASE_
+
/* window is resized (currently, makes sense for wxMSW only) */
#define wxNO_FULL_REPAINT_ON_RESIZE 0
+/* A mask which can be used to filter (out) all wxWindow-specific styles.
+ */
+#define wxWINDOW_STYLE_MASK \
+ (wxVSCROLL|wxHSCROLL|wxBORDER_MASK|wxALWAYS_SHOW_SB|wxCLIP_CHILDREN| \
+ wxCLIP_SIBLINGS|wxTRANSPARENT_WINDOW|wxTAB_TRAVERSAL|wxWANTS_CHARS| \
+ wxRETAINED|wxPOPUP_WINDOW|wxFULL_REPAINT_ON_RESIZE)
+
/*
* Extra window style flags (use wxWS_EX prefix to make it clear that they
* should be passed to wxWindow::SetExtraStyle(), not SetWindowStyle())
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/filepicker.h
+// Purpose: wxFilePickerCtrl, wxDirPickerCtrl base header
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_FILEDIRPICKER_H_BASE_
+#define _WX_FILEDIRPICKER_H_BASE_
+
+#include "wx/defs.h"
+
+
+#if wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL
+
+#include "wx/control.h"
+#include "wx/pickerbase.h"
+#include "wx/filedlg.h"
+#include "wx/filename.h"
+
+
+class WXDLLIMPEXP_CORE wxFileDirPickerEvent;
+
+extern WXDLLEXPORT_DATA(const wxChar) wxFilePickerWidgetLabel[];
+extern WXDLLEXPORT_DATA(const wxChar) wxFilePickerWidgetNameStr[];
+extern WXDLLEXPORT_DATA(const wxChar) wxFilePickerCtrlNameStr[];
+extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorPromptStr[];
+
+extern WXDLLEXPORT_DATA(const wxChar) wxDirPickerWidgetLabel[];
+extern WXDLLEXPORT_DATA(const wxChar) wxDirPickerWidgetNameStr[];
+extern WXDLLEXPORT_DATA(const wxChar) wxDirPickerCtrlNameStr[];
+extern WXDLLEXPORT_DATA(const wxChar) wxDirSelectorPromptStr[];
+
+
+// ----------------------------------------------------------------------------
+// wxFileDirPickerWidgetBase: a generic abstract interface which must be
+// implemented by controls used by wxFileDirPickerCtrlBase
+// ----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxFileDirPickerWidgetBase
+{
+public:
+ wxFileDirPickerWidgetBase() { }
+ virtual ~wxFileDirPickerWidgetBase() { }
+
+ wxString GetPath() const { return m_path; }
+ void SetPath(const wxString &str) { m_path=str; UpdateDialogPath(); }
+
+protected:
+ virtual void UpdateDialogPath() = 0;
+ virtual void UpdatePathFromDialog() = 0;
+
+ wxString m_path;
+};
+
+// Styles which must be supported by all controls implementing wxFileDirPickerWidgetBase
+// NB: these styles must be defined to carefully-chosen values to
+// avoid conflicts with wxButton's styles
+
+#define wxFLP_OPEN 0x0200
+#define wxFLP_SAVE 0x0400
+#define wxFLP_OVERWRITE_PROMPT 0x0800
+#define wxFLP_FILE_MUST_EXIST 0x1000
+#define wxFLP_CHANGE_DIR 0x2000
+
+// NOTE: wxMULTIPLE is not supported !
+
+
+#define wxDIRP_DIR_MUST_EXIST 0x0008
+#define wxDIRP_CHANGE_DIR 0x0010
+
+
+// map platform-dependent controls which implement the wxFileDirPickerWidgetBase
+// under the name "wxFilePickerWidget" and "wxDirPickerWidget".
+// NOTE: wxFileDirPickerCtrlBase will allocate a wx{File|Dir}PickerWidget and this
+// requires that all classes being mapped as wx{File|Dir}PickerWidget have the
+// same prototype for the contructor...
+#if defined(__WXGTK24__) // since GTK > 2.4, there is GtkColorButton
+ #include "wx/gtk/filepicker.h"
+ #define wxFilePickerWidget wxFileButton
+ #define wxDirPickerWidget wxDirButton
+#else
+ #include "wx/generic/filepickerg.h"
+ #define wxFilePickerWidget wxGenericFileButton
+ #define wxDirPickerWidget wxGenericDirButton
+#endif
+
+
+
+// ----------------------------------------------------------------------------
+// wxFileDirPickerWidgetBase
+// ----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxFileDirPickerCtrlBase : public wxPickerBase
+{
+public:
+ wxFileDirPickerCtrlBase() : m_bIgnoreNextTextCtrlUpdate(false) {}
+ virtual ~wxFileDirPickerCtrlBase() {}
+
+ // NB: no default values since this function will never be used
+ // directly by the user and derived classes wouldn't use them
+ bool CreateBase(wxWindow *parent,
+ wxWindowID id,
+ const wxString& path,
+ const wxString &message,
+ const wxString &wildcard,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator& validator,
+ const wxString& name);
+
+public: // public API
+
+ wxString GetPath() const
+ { return ((wxFileDirPickerWidgetBase*)m_picker)->GetPath(); }
+ void SetPath(const wxString &str);
+
+public: // internal functions
+
+ void UpdatePickerFromTextCtrl();
+ void UpdateTextCtrlFromPicker();
+
+ // event handler for our picker
+ void OnFileDirChange(wxFileDirPickerEvent &);
+
+ virtual bool CreatePicker(wxWindow *parent, const wxString& path,
+ const wxString& message, const wxString& wildcard) = 0;
+
+ // Returns TRUE if the current path is a valid one
+ // (i.e. a valid file for a wxFilePickerWidget or a valid
+ // folder for a wxDirPickerWidget).
+ virtual bool CheckPath(const wxString &str) const = 0;
+
+ // TRUE if any textctrl change should update the current working directory
+ virtual bool IsCwdToUpdate() const = 0;
+
+ // Returns the event type sent by this picker
+ virtual wxEventType GetEventType() const = 0;
+
+protected:
+
+ // true if the next UpdateTextCtrl() call is to ignore
+ bool m_bIgnoreNextTextCtrlUpdate;
+};
+
+#endif // wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL
+
+
+#if wxUSE_FILEPICKERCTRL
+
+// ----------------------------------------------------------------------------
+// wxFilePickerCtrl: platform-independent class which embeds the
+// platform-dependent wxFilePickerWidget and, if wxFLP_USE_TEXTCTRL style is
+// used, a textctrl next to it.
+// ----------------------------------------------------------------------------
+
+#define wxFLP_USE_TEXTCTRL wxPB_USE_TEXTCTRL
+
+#ifdef __WXGTK__
+ // GTK apps usually don't have a textctrl next to the picker
+ #define wxFLP_DEFAULT_STYLE wxFLP_OPEN
+#else
+ #define wxFLP_DEFAULT_STYLE wxFLP_USE_TEXTCTRL|wxFLP_OPEN
+#endif
+
+class WXDLLIMPEXP_CORE wxFilePickerCtrl : public wxFileDirPickerCtrlBase
+{
+public:
+ wxFilePickerCtrl() {}
+ virtual ~wxFilePickerCtrl() {}
+
+ wxFilePickerCtrl(wxWindow *parent,
+ wxWindowID id,
+ const wxString& path = wxEmptyString,
+ const wxString& message = wxFileSelectorPromptStr,
+ const wxString& wildcard = wxFileSelectorDefaultWildcardStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFLP_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFilePickerCtrlNameStr)
+ {
+ Create(parent, id, path, message, wildcard, pos, size, style,
+ validator, name);
+ }
+
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxString& path = wxEmptyString,
+ const wxString& message = wxFileSelectorPromptStr,
+ const wxString& wildcard = wxFileSelectorDefaultWildcardStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFLP_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFilePickerCtrlNameStr)
+ {
+ return wxFileDirPickerCtrlBase::CreateBase(parent, id, path,
+ message, wildcard,
+ pos, size, style,
+ validator, name);
+ }
+
+
+public: // overrides
+
+ bool CreatePicker(wxWindow *parent, const wxString& path,
+ const wxString& message, const wxString& wildcard)
+ {
+ m_picker = new wxFilePickerWidget(parent, wxID_ANY,
+ wxFilePickerWidgetLabel,
+ path, message, wildcard,
+ wxDefaultPosition, wxDefaultSize,
+ GetPickerStyle(GetWindowStyle()));
+ return true;
+ }
+
+ // extracts the style for our picker from wxFileDirPickerCtrlBase's style
+ long GetPickerStyle(long style) const
+ {
+ return (style & (wxFLP_OPEN|wxFLP_SAVE|wxFLP_OVERWRITE_PROMPT|
+ wxFLP_FILE_MUST_EXIST|wxFLP_CHANGE_DIR));
+ }
+
+ bool CheckPath(const wxString &path) const
+ {
+ return HasFlag(wxFLP_SAVE) || wxFileName::FileExists(path);
+ }
+
+ bool IsCwdToUpdate() const
+ { return HasFlag(wxFLP_CHANGE_DIR); }
+
+ wxEventType GetEventType() const
+ { return wxEVT_COMMAND_FILEPICKER_CHANGED; }
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxFilePickerCtrl)
+};
+
+#endif // wxUSE_FILEPICKERCTRL
+
+
+#if wxUSE_DIRPICKERCTRL
+
+// ----------------------------------------------------------------------------
+// wxDirPickerCtrl: platform-independent class which embeds the
+// platform-dependent wxDirPickerWidget and eventually a textctrl
+// (see wxDIRP_USE_TEXTCTRL) next to it.
+// ----------------------------------------------------------------------------
+
+#define wxDIRP_USE_TEXTCTRL wxPB_USE_TEXTCTRL
+
+#ifdef __WXGTK__
+ // GTK apps usually don't have a textctrl next to the picker
+ #define wxDIRP_DEFAULT_STYLE 0
+#else
+ #define wxDIRP_DEFAULT_STYLE wxDIRP_USE_TEXTCTRL
+#endif
+
+class WXDLLIMPEXP_CORE wxDirPickerCtrl : public wxFileDirPickerCtrlBase
+{
+public:
+ wxDirPickerCtrl() {}
+ virtual ~wxDirPickerCtrl() {}
+
+ wxDirPickerCtrl(wxWindow *parent, wxWindowID id,
+ const wxString& path = wxEmptyString,
+ const wxString& message = wxDirSelectorPromptStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = wxDIRP_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxDirPickerCtrlNameStr)
+ { Create(parent, id, path, message, pos, size, style, validator, name); }
+
+ bool Create(wxWindow *parent, wxWindowID id,
+ const wxString& path = wxEmptyString,
+ const wxString& message = wxDirSelectorPromptStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = wxDIRP_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxDirPickerCtrlNameStr)
+ { return wxFileDirPickerCtrlBase::CreateBase(parent, id, path, message, wxEmptyString,
+ pos, size, style, validator, name); }
+
+
+public: // overrides
+
+ bool CreatePicker(wxWindow *parent, const wxString& path,
+ const wxString& message, const wxString& WXUNUSED(wildcard))
+ {
+ m_picker = new wxDirPickerWidget(parent, wxID_ANY, wxDirPickerWidgetLabel,
+ path, message, wxDefaultPosition, wxDefaultSize,
+ GetPickerStyle(GetWindowStyle()));
+ return true;
+ }
+
+ // extracts the style for our picker from wxFileDirPickerCtrlBase's style
+ long GetPickerStyle(long style) const
+ { return (style & (wxDIRP_DIR_MUST_EXIST|wxDIRP_CHANGE_DIR)); }
+
+ bool CheckPath(const wxString &path) const
+ { if (HasFlag(wxDIRP_DIR_MUST_EXIST)) return wxFileName::DirExists(path); else return true; }
+
+ bool IsCwdToUpdate() const
+ { return HasFlag(wxDIRP_CHANGE_DIR); }
+
+ wxEventType GetEventType() const
+ { return wxEVT_COMMAND_DIRPICKER_CHANGED; }
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxDirPickerCtrl)
+};
+
+#endif // wxUSE_DIRPICKERCTRL
+
+
+#if wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL
+
+// ----------------------------------------------------------------------------
+// wxFileDirPickerEvent: used by wxFilePickerCtrl and wxDirPickerCtrl only
+// ----------------------------------------------------------------------------
+
+BEGIN_DECLARE_EVENT_TYPES()
+ DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_CORE, wxEVT_COMMAND_FILEPICKER_CHANGED, 1102)
+ DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_CORE, wxEVT_COMMAND_DIRPICKER_CHANGED, 1103)
+END_DECLARE_EVENT_TYPES()
+
+class WXDLLIMPEXP_CORE wxFileDirPickerEvent : public wxCommandEvent
+{
+public:
+ wxFileDirPickerEvent() {}
+ wxFileDirPickerEvent(wxEventType type, wxObject *generator, int id, const wxString &path)
+ : wxCommandEvent(type, id),
+ m_path(path)
+ {
+ SetEventObject(generator);
+ }
+
+ wxString GetPath() const { return m_path; }
+ void SetPath(const wxString &p) { m_path = p; }
+
+private:
+ wxString m_path;
+
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxFileDirPickerEvent)
+};
+
+// ----------------------------------------------------------------------------
+// event types and macros
+// ----------------------------------------------------------------------------
+
+typedef void (wxEvtHandler::*wxFileDirPickerEventFunction)(wxFileDirPickerEvent&);
+
+#define wxFileDirPickerEventHandler(func) \
+ (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxFileDirPickerEventFunction, &func)
+
+#define EVT_FILEPICKER_CHANGED(id, fn) \
+ wx__DECLARE_EVT1(wxEVT_COMMAND_FILEPICKER_CHANGED, id, wxFileDirPickerEventHandler(fn))
+#define EVT_DIRPICKER_CHANGED(id, fn) \
+ wx__DECLARE_EVT1(wxEVT_COMMAND_DIRPICKER_CHANGED, id, wxFileDirPickerEventHandler(fn))
+
+#ifdef _WX_DEFINE_DATE_EVENTS_
+ DEFINE_EVENT_TYPE(wxEVT_COMMAND_FILEPICKER_CHANGED)
+ DEFINE_EVENT_TYPE(wxEVT_COMMAND_DIRPICKER_CHANGED)
+
+ IMPLEMENT_DYNAMIC_CLASS(wxFileDirPickerEvent, wxCommandEvent)
+#endif
+
+
+#endif // wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL
+
+#endif // _WX_FILEDIRPICKER_H_BASE_
+
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/fontpicker.h
+// Purpose: wxFontPickerCtrl base header
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_FONTPICKER_H_BASE_
+#define _WX_FONTPICKER_H_BASE_
+
+#include "wx/defs.h"
+
+
+#if wxUSE_FONTPICKERCTRL
+
+#include "wx/control.h"
+#include "wx/pickerbase.h"
+
+
+class WXDLLIMPEXP_CORE wxFontPickerEvent;
+
+extern WXDLLEXPORT_DATA(const wxChar) wxFontPickerWidgetNameStr[];
+extern WXDLLEXPORT_DATA(const wxChar) wxFontPickerCtrlNameStr[];
+
+
+// ----------------------------------------------------------------------------
+// wxFontPickerWidgetBase: a generic abstract interface which must be
+// implemented by controls used by wxFontPickerCtrl
+// ----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxFontPickerWidgetBase
+{
+public:
+ wxFontPickerWidgetBase() { m_selectedFont = *wxNORMAL_FONT; }
+ virtual ~wxFontPickerWidgetBase() {}
+
+ wxFont GetSelectedFont() const
+ { return m_selectedFont; }
+ virtual void SetSelectedFont(const wxFont &f)
+ { m_selectedFont = f; UpdateFont(); }
+
+protected:
+
+ virtual void UpdateFont() = 0;
+
+ // the current font (may be invalid if none)
+ // NOTE: don't call this m_font as wxWindow::m_font already exists
+ wxFont m_selectedFont;
+};
+
+// Styles which must be supported by all controls implementing wxFontPickerWidgetBase
+// NB: these styles must be defined to carefully-chosen values to
+// avoid conflicts with wxButton's styles
+
+
+// keeps the label of the button updated with the fontface name + font size
+// E.g. choosing "Times New Roman bold, italic with size 10" from the fontdialog,
+// updates the wxFontButtonGeneric's label (overwriting any previous label)
+// with the "Times New Roman, 10" text (only fontface + fontsize is displayed
+// to avoid extralong labels).
+#define wxFNTP_FONTDESC_AS_LABEL 0x0008
+
+// uses the currently selected font to draw the label of the button
+#define wxFNTP_USEFONT_FOR_LABEL 0x0010
+
+#if defined(__WXGTK24__) // since GTK > 2.4, there is GtkFontButton
+ #include "wx/gtk/fontpicker.h"
+ #define wxFontPickerWidget wxFontButton
+#else
+ #include "wx/generic/fontpickerg.h"
+ #define wxFontPickerWidget wxGenericFontButton
+#endif
+
+
+// ----------------------------------------------------------------------------
+// wxFontPickerCtrl specific flags
+// ----------------------------------------------------------------------------
+
+#define wxFNTP_USE_TEXTCTRL wxPB_USE_TEXTCTRL
+#define wxFNTP_DEFAULT_STYLE wxFNTP_FONTDESC_AS_LABEL|wxFNTP_USEFONT_FOR_LABEL
+
+// not a style but rather the default value of the maximum pointsize allowed
+#define wxFNTP_MAXPOINT_SIZE 100
+
+
+// ----------------------------------------------------------------------------
+// wxFontPickerCtrl: platform-independent class which embeds the
+// platform-dependent wxFontPickerWidget andm if wxFNTP_USE_TEXTCTRL style is
+// used, a textctrl next to it.
+// ----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxFontPickerCtrl : public wxPickerBase
+{
+public:
+ wxFontPickerCtrl()
+ : m_bIgnoreNextTextCtrlUpdate(false),
+ m_nMaxPointSize(wxFNTP_MAXPOINT_SIZE)
+ {
+ }
+
+ virtual ~wxFontPickerCtrl() {}
+
+
+ wxFontPickerCtrl(wxWindow *parent,
+ wxWindowID id,
+ const wxFont& initial = *wxNORMAL_FONT,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFNTP_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFontPickerCtrlNameStr)
+ : m_bIgnoreNextTextCtrlUpdate(false),
+ m_nMaxPointSize(wxFNTP_MAXPOINT_SIZE)
+ {
+ Create(parent, id, initial, pos, size, style, validator, name);
+ }
+
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxFont& initial = *wxNORMAL_FONT,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFNTP_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFontPickerCtrlNameStr);
+
+
+public: // public API
+
+ // get the font chosen
+ wxFont GetSelectedFont() const
+ { return ((wxFontPickerWidget *)m_picker)->GetSelectedFont(); }
+
+ // sets currently displayed font
+ void SetSelectedFont(const wxFont& f);
+
+ // set/get the max pointsize
+ void SetMaxPointSize(unsigned int max)
+ { m_nMaxPointSize=max; }
+ unsigned int GetMaxPointSize() const
+ { return m_nMaxPointSize; }
+
+public: // internal functions
+
+ void UpdatePickerFromTextCtrl();
+ void UpdateTextCtrlFromPicker();
+
+ // event handler for our picker
+ void OnFontChange(wxFontPickerEvent &);
+
+ // used to convert wxString <-> wxFont
+ virtual wxString Font2String(const wxFont &font);
+ virtual wxFont String2Font(const wxString &font);
+
+ // extracts the style for our picker from wxFontPickerCtrl's style
+ long GetPickerStyle(long style) const
+ { return (style & (wxFNTP_FONTDESC_AS_LABEL|wxFNTP_USEFONT_FOR_LABEL)); }
+
+protected:
+
+ // true if the next UpdateTextCtrl() call is to ignore
+ bool m_bIgnoreNextTextCtrlUpdate;
+
+ // the maximum pointsize allowed to the user
+ unsigned int m_nMaxPointSize;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxFontPickerCtrl)
+};
+
+
+// ----------------------------------------------------------------------------
+// wxFontPickerEvent: used by wxFontPickerCtrl only
+// ----------------------------------------------------------------------------
+
+BEGIN_DECLARE_EVENT_TYPES()
+ DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_CORE, wxEVT_COMMAND_FONTPICKER_CHANGED, 1102)
+END_DECLARE_EVENT_TYPES()
+
+class WXDLLIMPEXP_CORE wxFontPickerEvent : public wxCommandEvent
+{
+public:
+ wxFontPickerEvent() {}
+ wxFontPickerEvent(wxObject *generator, int id, const wxFont &f)
+ : wxCommandEvent(wxEVT_COMMAND_FONTPICKER_CHANGED, id),
+ m_font(f)
+ {
+ SetEventObject(generator);
+ }
+
+ wxFont GetFont() const { return m_font; }
+ void SetFont(const wxFont &c) { m_font = c; }
+
+private:
+ wxFont m_font;
+
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontPickerEvent)
+};
+
+// ----------------------------------------------------------------------------
+// event types and macros
+// ----------------------------------------------------------------------------
+
+typedef void (wxEvtHandler::*wxFontPickerEventFunction)(wxFontPickerEvent&);
+
+#define wxFontPickerEventHandler(func) \
+ (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxFontPickerEventFunction, &func)
+
+#define EVT_FONTPICKER_CHANGED(id, fn) \
+ wx__DECLARE_EVT1(wxEVT_COMMAND_FONTPICKER_CHANGED, id, wxFontPickerEventHandler(fn))
+
+#ifdef _WX_DEFINE_DATE_EVENTS_
+ DEFINE_EVENT_TYPE(wxEVT_COMMAND_FONTPICKER_CHANGED)
+
+ IMPLEMENT_DYNAMIC_CLASS(wxFontPickerEvent, wxCommandEvent)
+#endif
+
+
+
+#endif // wxUSE_FONTPICKERCTRL
+
+#endif
+ // _WX_FONTPICKER_H_BASE_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/generic/clrpickerg.h
+// Purpose: wxGenericColourButton header
+// Author: Francesco Montorsi (based on Vadim Zeitlin's code)
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Vadim Zeitlin, Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_CLRPICKER_H_
+#define _WX_CLRPICKER_H_
+
+class WXDLLIMPEXP_CORE wxColourData;
+
+//-----------------------------------------------------------------------------
+// wxGenericColourButton: a button which brings up a wxColourDialog
+//-----------------------------------------------------------------------------
+
+// show the colour in HTML form (#AABBCC) as colour button label
+#define wxCLRBTN_SHOW_LABEL 100
+
+// the default style
+#define wxCLRBTN_DEFAULT_STYLE wxCLRBTN_SHOW_LABEL
+
+
+class WXDLLIMPEXP_CORE wxGenericColourButton : public wxButton,
+ public wxColourPickerWidgetBase
+{
+public:
+ wxGenericColourButton() {}
+ wxGenericColourButton(wxWindow *parent,
+ wxWindowID id,
+ const wxColour& col = *wxBLACK,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxCLRBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxColourPickerWidgetNameStr)
+ {
+ Create(parent, id, col, pos, size, style, validator, name);
+ }
+
+ virtual ~wxGenericColourButton() {}
+
+
+public: // API extensions specific for wxGenericColourButton
+
+ // user can override this to init colour data in a different way
+ virtual void InitColourData();
+
+ // returns the colour data shown in wxColourDialog
+ wxColourData *GetColourData() { return &ms_data; }
+
+
+public:
+
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxColour& col = *wxBLACK,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxCLRBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxColourPickerWidgetNameStr);
+
+ void OnButtonClick(wxCommandEvent &);
+
+
+protected:
+
+ void UpdateColour();
+
+ // the colour data shown in wxColourPickerCtrlGeneric
+ // controls. This member is static so that all colour pickers
+ // in the program share the same set of custom colours.
+ static wxColourData ms_data;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxGenericColourButton)
+};
+
+
+#endif // _WX_CLRPICKER_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/generic/filepickerg.h
+// Purpose: wxGenericFileDirButton, wxGenericFileButton, wxGenericDirButton
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_FILEDIRPICKER_H_
+#define _WX_FILEDIRPICKER_H_
+
+#include "wx/filename.h"
+#include "wx/filedlg.h"
+#include "wx/dirdlg.h"
+
+
+extern const wxEventType wxEVT_COMMAND_DIRPICKER_CHANGED;
+extern const wxEventType wxEVT_COMMAND_FILEPICKER_CHANGED;
+
+
+//-----------------------------------------------------------------------------
+// wxGenericFileDirButton: a button which brings up a wx{File|Dir}Dialog
+//-----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxGenericFileDirButton : public wxButton,
+ public wxFileDirPickerWidgetBase
+{
+public:
+ wxGenericFileDirButton() { m_dialog = NULL; }
+ wxGenericFileDirButton(wxWindow *parent,
+ wxWindowID id,
+ const wxString& label = wxFilePickerWidgetLabel,
+ const wxString& path = wxEmptyString,
+ const wxString &message = wxFileSelectorPromptStr,
+ const wxString &wildcard = wxFileSelectorDefaultWildcardStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFilePickerWidgetNameStr)
+ {
+ m_dialog = NULL;
+ Create(parent, id, label, path, message, wildcard,
+ pos, size, style, validator, name);
+ }
+
+ virtual ~wxGenericFileDirButton() {}
+
+public: // overrideable
+
+ virtual bool CreateDialog(const wxString &message,
+ const wxString &wildcard) = 0;
+
+ // NULL is because of a problem with destruction order in both generic & GTK code
+ virtual wxWindow *GetDialogParent()
+ { return NULL; }
+
+ virtual wxEventType GetEventType() const = 0;
+
+public:
+
+ bool Destroy()
+ {
+ m_dialog->Destroy();
+ return wxButton::Destroy();
+ }
+
+ bool Create(wxWindow *parent, wxWindowID id,
+ const wxString& label = wxFilePickerWidgetLabel,
+ const wxString& path = wxEmptyString,
+ const wxString &message = wxFileSelectorPromptStr,
+ const wxString &wildcard = wxFileSelectorDefaultWildcardStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFilePickerWidgetNameStr);
+
+ // event handler for the click
+ void OnButtonClick(wxCommandEvent &);
+
+ wxDialog *m_dialog;
+};
+
+
+//-----------------------------------------------------------------------------
+// wxGenericFileButton: a button which brings up a wxFileDialog
+//-----------------------------------------------------------------------------
+
+#define wxFILEBTN_DEFAULT_STYLE wxFLP_OPEN
+
+class WXDLLIMPEXP_CORE wxGenericFileButton : public wxGenericFileDirButton
+{
+public:
+ wxGenericFileButton() {}
+ wxGenericFileButton(wxWindow *parent,
+ wxWindowID id,
+ const wxString& label = wxFilePickerWidgetLabel,
+ const wxString& path = wxEmptyString,
+ const wxString &message = wxFileSelectorPromptStr,
+ const wxString &wildcard = wxFileSelectorDefaultWildcardStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFILEBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFilePickerWidgetNameStr)
+ {
+ Create(parent, id, label, path, message, wildcard,
+ pos, size, style, validator, name);
+ }
+
+public: // overrideable
+
+ virtual long GetDialogStyle() const
+ {
+ long filedlgstyle = 0;
+
+ if (this->HasFlag(wxFLP_OPEN))
+ filedlgstyle |= wxFD_OPEN;
+ if (this->HasFlag(wxFLP_SAVE))
+ filedlgstyle |= wxFD_SAVE;
+ if (this->HasFlag(wxFLP_OVERWRITE_PROMPT))
+ filedlgstyle |= wxFD_OVERWRITE_PROMPT;
+ if (this->HasFlag(wxFLP_FILE_MUST_EXIST))
+ filedlgstyle |= wxFD_FILE_MUST_EXIST;
+ if (this->HasFlag(wxFLP_CHANGE_DIR))
+ filedlgstyle |= wxFD_CHANGE_DIR;
+
+ return filedlgstyle;
+ }
+
+ virtual bool CreateDialog(const wxString &message, const wxString &wildcard)
+ {
+ m_dialog = new wxFileDialog(GetDialogParent(), message,
+ wxEmptyString, wxEmptyString,
+ wildcard, GetDialogStyle());
+
+ // this sets both the default folder and the default file of the dialog
+ GetDialog()->SetPath(m_path);
+
+ return true;
+ }
+
+ wxFileDialog *GetDialog()
+ { return wxStaticCast(m_dialog, wxFileDialog); }
+ void UpdateDialogPath()
+ { GetDialog()->SetPath(m_path); }
+ void UpdatePathFromDialog()
+ { m_path = GetDialog()->GetPath(); }
+ wxEventType GetEventType() const
+ { return wxEVT_COMMAND_FILEPICKER_CHANGED; }
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxGenericFileButton)
+};
+
+
+//-----------------------------------------------------------------------------
+// wxGenericDirButton: a button which brings up a wxDirDialog
+//-----------------------------------------------------------------------------
+
+#define wxDIRBTN_DEFAULT_STYLE 0
+
+class WXDLLIMPEXP_CORE wxGenericDirButton : public wxGenericFileDirButton
+{
+public:
+ wxGenericDirButton() {}
+ wxGenericDirButton(wxWindow *parent,
+ wxWindowID id,
+ const wxString& label = wxDirPickerWidgetLabel,
+ const wxString& path = wxEmptyString,
+ const wxString &message = wxDirSelectorPromptStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxDIRBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxDirPickerWidgetNameStr)
+ {
+ Create(parent, id, label, path, message, wxEmptyString,
+ pos, size, style, validator, name);
+ }
+
+public: // overrideable
+
+ virtual long GetDialogStyle() const
+ {
+ long dirdlgstyle = 0;
+
+ if (this->HasFlag(wxDIRP_DIR_MUST_EXIST))
+ dirdlgstyle |= wxDD_DIR_MUST_EXIST;
+ if (this->HasFlag(wxDIRP_CHANGE_DIR))
+ dirdlgstyle |= wxDD_CHANGE_DIR;
+
+ return dirdlgstyle;
+ }
+
+ virtual bool CreateDialog(const wxString &message, const wxString &WXUNUSED(wildcard))
+ {
+ m_dialog = new wxDirDialog(GetDialogParent(), message, m_path,
+ GetDialogStyle());
+ return true;
+ }
+
+ wxDirDialog *GetDialog()
+ { return wxStaticCast(m_dialog, wxDirDialog); }
+ void UpdateDialogPath()
+ { GetDialog()->SetPath(m_path); }
+ void UpdatePathFromDialog()
+ { m_path = GetDialog()->GetPath(); }
+ wxEventType GetEventType() const
+ { return wxEVT_COMMAND_DIRPICKER_CHANGED; }
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxGenericDirButton)
+};
+
+
+#endif // _WX_FILEDIRPICKER_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/generic/fontpickerg.h
+// Purpose: wxGenericFontButton header
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_FONTPICKER_H_
+#define _WX_FONTPICKER_H_
+
+class WXDLLIMPEXP_CORE wxFontData;
+
+//-----------------------------------------------------------------------------
+// wxGenericFontButton: a button which brings up a wxColourDialog
+//-----------------------------------------------------------------------------
+
+#define wxFONTBTN_DEFAULT_STYLE \
+ (wxFNTP_FONTDESC_AS_LABEL | wxFNTP_USEFONT_FOR_LABEL)
+
+class WXDLLIMPEXP_CORE wxGenericFontButton : public wxButton,
+ public wxFontPickerWidgetBase
+{
+public:
+ wxGenericFontButton() {}
+ wxGenericFontButton(wxWindow *parent,
+ wxWindowID id,
+ const wxFont &initial = *wxNORMAL_FONT,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFONTBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFontPickerWidgetNameStr)
+ {
+ Create(parent, id, initial, pos, size, style, validator, name);
+ }
+
+ virtual ~wxGenericFontButton() {}
+
+
+public: // API extensions specific for wxGenericFontButton
+
+ // user can override this to init font data in a different way
+ virtual void InitFontData();
+
+ // returns the font data shown in wxColourDialog
+ wxFontData *GetFontData() { return &ms_data; }
+
+
+public:
+
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxFont &initial = *wxNORMAL_FONT,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFONTBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFontPickerWidgetNameStr);
+
+ void OnButtonClick(wxCommandEvent &);
+
+
+protected:
+
+ void UpdateFont();
+
+ // the colour data shown in wxColourPickerCtrlGeneric
+ // controls. This member is static so that all colour pickers
+ // in the program share the same set of custom colours.
+ static wxFontData ms_data;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxGenericFontButton)
+};
+
+
+#endif // _WX_FONTPICKER_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/gtk/clrpicker.h
+// Purpose: wxColourButton header
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_GTK_CLRPICKER_H_
+#define _WX_GTK_CLRPICKER_H_
+
+// since GtkColorButton is available only for GTK+ >= 2.4,
+// we need to use generic version if we detect (at runtime)
+// that GTK+ < 2.4
+#include "wx/generic/clrpickerg.h"
+
+//-----------------------------------------------------------------------------
+// wxColourButton
+//-----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxColourButton : public wxGenericColourButton
+{
+public:
+ wxColourButton() : m_topParent(NULL) {}
+ wxColourButton(wxWindow *parent,
+ wxWindowID id,
+ const wxColour& initial = *wxBLACK,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxCLRBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxColourPickerWidgetNameStr)
+ : m_topParent(NULL)
+ {
+ Create(parent, id, initial, pos, size, style, validator, name);
+ }
+
+ virtual ~wxColourButton();
+
+
+public: // overrides
+
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxColour& initial = *wxBLACK,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxCLRBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxColourPickerWidgetNameStr);
+
+ void UpdateColour();
+
+
+public: // used by the GTK callback only
+
+ GdkColor *GetGdkColor() const
+ { return m_colour.GetColor(); }
+
+ wxWindow *m_topParent;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxColourButton)
+};
+
+#endif // _WX_GTK_CLRPICKER_H_
+
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/gtk/filedirpicker.h
+// Purpose: wxFileButton, wxDirButton header
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_GTK_FILEPICKER_H_
+#define _WX_GTK_FILEPICKER_H_
+
+// since GtkColorButton is available only for GTK+ >= 2.4,
+// we need to use generic versions if we detect (at runtime)
+// that GTK+ < 2.4
+#include "wx/generic/filepickerg.h"
+
+//-----------------------------------------------------------------------------
+// wxFileButton
+//-----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxFileButton : public wxGenericFileButton
+{
+public:
+ wxFileButton() {}
+ wxFileButton(wxWindow *parent,
+ wxWindowID id,
+ const wxString& label = wxFilePickerWidgetLabel,
+ const wxString &path = wxEmptyString,
+ const wxString &message = wxFileSelectorPromptStr,
+ const wxString &wildcard = wxFileSelectorDefaultWildcardStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFILEBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFilePickerWidgetNameStr)
+ {
+ Create(parent, id, label, path, message, wildcard,
+ pos, size, style, validator, name);
+ }
+
+ virtual ~wxFileButton() ;
+
+
+public: // overrides
+
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxString& label = wxFilePickerWidgetLabel,
+ const wxString &path = wxEmptyString,
+ const wxString &message = wxFileSelectorPromptStr,
+ const wxString &wildcard = wxFileSelectorDefaultWildcardStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFilePickerWidgetNameStr);
+
+ // event handler for the click
+ void OnDialogOK(wxCommandEvent &);
+
+
+ // GtkFileChooserButton does not support GTK_FILE_CHOOSER_ACTION_SAVE
+ // so we replace it with GTK_FILE_CHOOSER_ACTION_OPEN
+ long GetDialogStyle() const
+ {
+ return (wxGenericFileButton::GetDialogStyle() & ~wxFD_SAVE) | wxFD_OPEN;
+ }
+
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxFileButton)
+};
+
+
+//-----------------------------------------------------------------------------
+// wxDirButton
+//-----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxDirButton : public wxGenericDirButton
+{
+public:
+ wxDirButton() {}
+ wxDirButton(wxWindow *parent,
+ wxWindowID id,
+ const wxString& label = wxFilePickerWidgetLabel,
+ const wxString &path = wxEmptyString,
+ const wxString &message = wxFileSelectorPromptStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxDIRBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFilePickerWidgetNameStr)
+ {
+ Create(parent, id, label, path, message, wxEmptyString,
+ pos, size, style, validator, name);
+ }
+
+ virtual ~wxDirButton();
+
+
+public: // overrides
+
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxString& label = wxFilePickerWidgetLabel,
+ const wxString &path = wxEmptyString,
+ const wxString &message = wxFileSelectorPromptStr,
+ const wxString &wildcard = wxFileSelectorDefaultWildcardStr,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFilePickerWidgetNameStr);
+
+ // used by the GTK callback only
+ void UpdatePath(char *gtkpath)
+ { m_path = wxString::FromAscii(gtkpath); }
+
+ // GtkFileChooserButton does not support GTK_FILE_CHOOSER_CREATE_FOLDER
+ // thus we must ensure that the wxDD_DIR_MUST_EXIST style was given
+ long GetDialogStyle() const
+ {
+ return (wxGenericDirButton::GetDialogStyle() | wxDD_DIR_MUST_EXIST);
+ }
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxDirButton)
+};
+
+#endif // _WX_GTK_FILEPICKER_H_
+
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/gtk/fontpicker.h
+// Purpose: wxFontButton header
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_GTK_FONTPICKER_H_
+#define _WX_GTK_FONTPICKER_H_
+
+// since GtkFontButton is available only for GTK+ >= 2.4,
+// we need to use generic version if we detect (at runtime)
+// that GTK+ < 2.4
+#include "wx/generic/fontpickerg.h"
+
+//-----------------------------------------------------------------------------
+// wxFontButton
+//-----------------------------------------------------------------------------
+
+class WXDLLIMPEXP_CORE wxFontButton : public wxGenericFontButton
+{
+public:
+ wxFontButton() {}
+ wxFontButton(wxWindow *parent,
+ wxWindowID id,
+ const wxFont& initial = *wxNORMAL_FONT,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFONTBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFontPickerWidgetNameStr)
+ {
+ Create(parent, id, initial, pos, size, style, validator, name);
+ }
+
+ virtual ~wxFontButton();
+
+
+public: // overrides
+
+ bool Create(wxWindow *parent,
+ wxWindowID id,
+ const wxFont& initial = *wxNORMAL_FONT,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxFONTBTN_DEFAULT_STYLE,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxFontPickerWidgetNameStr);
+
+ void UpdateFont();
+
+
+public: // used by the GTK callback only
+
+ void SetNativeFontInfo(const gchar *gtkdescription)
+ { m_selectedFont.SetNativeFontInfo(wxString::FromAscii(gtkdescription)); }
+
+ wxWindow *m_topParent;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxFontButton)
+};
+
+#endif // _WX_GTK_FONTPICKER_H_
+
#define wxUSE_CHECKBOX 1 // wxCheckBox
#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
#define wxUSE_CHOICE 1 // wxChoice
+#define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
#define wxUSE_COMBOBOX 1 // wxComboBox
#define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
#define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
+#define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
+#define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
+#define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
#define wxUSE_GAUGE 1 // wxGauge
#define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
#define wxUSE_LISTBOX 1 // wxListBox
#define wxUSE_CHECKBOX 1 // wxCheckBox
#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
#define wxUSE_CHOICE 1 // wxChoice
+#define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
#define wxUSE_COMBOBOX 1 // wxComboBox
#define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
#define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
+#define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
+#define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
+#define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
#define wxUSE_GAUGE 1 // wxGauge
#define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
#define wxUSE_LISTBOX 1 // wxListBox
#define wxUSE_CHECKBOX 1 // wxCheckBox
#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
#define wxUSE_CHOICE 1 // wxChoice
+#define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
#define wxUSE_COMBOBOX 1 // wxComboBox
#define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
#define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
+#define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
+#define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
+#define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
#define wxUSE_GAUGE 1 // wxGauge
#define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
#define wxUSE_LISTBOX 1 // wxListBox
#define wxUSE_CHECKBOX 1 // wxCheckBox
#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
#define wxUSE_CHOICE 1 // wxChoice
+#define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
#define wxUSE_COMBOBOX 1 // wxComboBox
#define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
#define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
+#define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
+#define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
+#define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
#define wxUSE_GAUGE 1 // wxGauge
#define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
#define wxUSE_LISTBOX 1 // wxListBox
#define wxUSE_CHECKBOX 1 // wxCheckBox
#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
#define wxUSE_CHOICE 1 // wxChoice
+#define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
#define wxUSE_COMBOBOX 1 // wxComboBox
#define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
#define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
+#define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
+#define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
+#define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
#define wxUSE_GAUGE 1 // wxGauge
#define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
#define wxUSE_LISTBOX 1 // wxListBox
#define wxUSE_CHECKBOX 1 // wxCheckBox
#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
#define wxUSE_CHOICE 1 // wxChoice
+#define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
#define wxUSE_COMBOBOX 1 // wxComboBox
#define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
#define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
+#define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
+#define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
+#define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
#define wxUSE_GAUGE 1 // wxGauge
#define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
#define wxUSE_LISTBOX 1 // wxListBox
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/pickerbase.h
+// Purpose: wxPickerBase definition
+// Author: Francesco Montorsi (based on Vadim Zeitlin's code)
+// Modified by:
+// Created: 14/4/2006
+// Copyright: (c) Vadim Zeitlin, Francesco Montorsi
+// RCS-ID: $Id$
+// Licence: wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_PICKERBASE_H_BASE_
+#define _WX_PICKERBASE_H_BASE_
+
+#include "wx/defs.h"
+#include "wx/control.h"
+#include "wx/textctrl.h"
+
+// ----------------------------------------------------------------------------
+// wxPickerBase is the base class for the picker controls which support
+// a wxPB_USE_TEXTCTRL style; i.e. for those pickers which can use an auxiliary
+// text control next to the 'real' picker.
+//
+// The wxTextPickerHelper class manages enabled/disabled state of the text control,
+// its sizing and positioning.
+// ----------------------------------------------------------------------------
+
+#define wxPB_USE_TEXTCTRL 0x0002
+
+class WXDLLIMPEXP_CORE wxPickerBase : public wxControl
+{
+public:
+ // ctor: text is the associated text control
+ wxPickerBase() : m_text(NULL), m_picker(NULL),
+ m_margin(5), m_textProportion(2) {}
+ virtual ~wxPickerBase();
+
+
+ // if present, intercepts wxPB_USE_TEXTCTRL style and creates the text control
+ // The 3rd argument is the initial wxString to display in the text control
+ bool CreateBase(wxWindow *parent, wxWindowID id,
+ const wxString& text = wxEmptyString,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = 0,
+ const wxValidator& validator = wxDefaultValidator,
+ const wxString& name = wxButtonNameStr);
+
+
+public: // public API
+
+ // margin between the text control and the picker
+ void SetInternalMargin(int newmargin);
+ int GetInternalMargin() const { return m_margin; }
+
+ // proportion of the text control respect the picker
+ // (which has a fixed proportion value of 1)
+ void SetTextCtrlProportion(int prop) { wxASSERT(prop>=1); m_textProportion=prop; }
+ int GetTextCtrlProportion() const { return m_textProportion; }
+
+ bool HasTextCtrl() const
+ { return m_text != NULL; }
+ wxTextCtrl *GetTextCtrl()
+ { return m_text; }
+ wxControl *GetPickerCtrl()
+ { return m_picker; }
+
+public: // wxWindow overrides
+
+ void DoSetSizeHints(int minW, int minH,
+ int maxW = wxDefaultCoord, int maxH = wxDefaultCoord,
+ int incW = wxDefaultCoord, int incH = wxDefaultCoord );
+
+ void DoSetSize(int x, int y,
+ int width, int height,
+ int sizeFlags = wxSIZE_AUTO);
+
+ wxSize DoGetBestSize() const;
+
+
+public: // methods that derived class must/may override
+
+ virtual void UpdatePickerFromTextCtrl() = 0;
+ virtual void UpdateTextCtrlFromPicker() = 0;
+
+protected: // utility functions
+
+ inline int GetTextCtrlWidth(int given);
+
+ // event handlers
+ void OnTextCtrlDelete(wxWindowDestroyEvent &);
+ void OnTextCtrlUpdate(wxCommandEvent &);
+ void OnTextCtrlKillFocus(wxFocusEvent &);
+
+ // returns the set of styles for the attached wxTextCtrl
+ // from given wxPickerBase's styles
+ virtual long GetTextCtrlStyle(long style) const
+ { return (style & wxWINDOW_STYLE_MASK); }
+
+ // returns the set of styles for the m_picker
+ virtual long GetPickerStyle(long style) const
+ { return (style & wxWINDOW_STYLE_MASK); }
+
+protected:
+ wxTextCtrl *m_text; // can be NULL
+ wxControl *m_picker;
+
+ int m_margin; // distance between subcontrols
+ int m_textProportion; // proportion between textctrl and other item
+
+private:
+ DECLARE_ABSTRACT_CLASS(wxPickerBase)
+};
+
+
+#endif
+ // _WX_PICKERBASE_H_BASE_
#define wxUSE_CHECKBOX 1 // wxCheckBox
#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)
#define wxUSE_CHOICE 1 // wxChoice
+#define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl
#define wxUSE_COMBOBOX 1 // wxComboBox
#define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl
#define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl
+#define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl
+#define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl
+#define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl
#define wxUSE_GAUGE 1 // wxGauge
#define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl
#define wxUSE_LISTBOX 1 // wxListBox
#include "wx/xrc/xh_statbar.h"
#include "wx/xrc/xh_mdi.h"
#include "wx/xrc/xh_grid.h"
+#include "wx/xrc/xh_clrpicker.h"
+#include "wx/xrc/xh_filepicker.h"
+#include "wx/xrc/xh_fontpicker.h"
+#include "wx/xrc/xh_dirpicker.h"
#include "wx/xrc/xh_hyperlink.h"
#endif // _WX_XH_ALL_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: xh_clrpicker.cpp
+// Purpose: XML resource handler for wxColourPickerCtrl
+// Author: Francesco Montorsi
+// Created: 2006-04-17
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_XH_CLRPICKERCTRL_H_
+#define _WX_XH_CLRPICKERCTRL_H_
+
+#include "wx/xrc/xmlres.h"
+
+#if wxUSE_COLOURPICKERCTRL
+
+class WXDLLIMPEXP_XRC wxColourPickerCtrlXmlHandler : public wxXmlResourceHandler
+{
+DECLARE_DYNAMIC_CLASS(wxColourPickerCtrlXmlHandler)
+public:
+ wxColourPickerCtrlXmlHandler();
+ virtual wxObject *DoCreateResource();
+ virtual bool CanHandle(wxXmlNode *node);
+};
+
+#endif // wxUSE_COLOURPICKERCTRL
+
+#endif // _WX_XH_CLRPICKERCTRL_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: xh_clrpicker.cpp
+// Purpose: XML resource handler for wxColourPickerCtrl
+// Author: Francesco Montorsi
+// Created: 2006-04-17
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_XH_DIRPICKERCTRL_H_
+#define _WX_XH_DIRPICKERCTRL_H_
+
+#include "wx/xrc/xmlres.h"
+
+#if wxUSE_DIRPICKERCTRL
+
+class WXDLLIMPEXP_XRC wxDirPickerCtrlXmlHandler : public wxXmlResourceHandler
+{
+DECLARE_DYNAMIC_CLASS(wxDirPickerCtrlXmlHandler)
+public:
+ wxDirPickerCtrlXmlHandler();
+ virtual wxObject *DoCreateResource();
+ virtual bool CanHandle(wxXmlNode *node);
+};
+
+#endif // wxUSE_DIRPICKERCTRL
+
+#endif // _WX_XH_DIRPICKERCTRL_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: xh_clrpicker.cpp
+// Purpose: XML resource handler for wxColourPickerCtrl
+// Author: Francesco Montorsi
+// Created: 2006-04-17
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_XH_FILEPICKERCTRL_H_
+#define _WX_XH_FILEPICKERCTRL_H_
+
+#include "wx/xrc/xmlres.h"
+
+#if wxUSE_FILEPICKERCTRL
+
+class WXDLLIMPEXP_XRC wxFilePickerCtrlXmlHandler : public wxXmlResourceHandler
+{
+DECLARE_DYNAMIC_CLASS(wxFilePickerCtrlXmlHandler)
+public:
+ wxFilePickerCtrlXmlHandler();
+ virtual wxObject *DoCreateResource();
+ virtual bool CanHandle(wxXmlNode *node);
+};
+
+#endif // wxUSE_FILEPICKERCTRL
+
+#endif // _WX_XH_FILEPICKERCTRL_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: xh_clrpicker.cpp
+// Purpose: XML resource handler for wxColourPickerCtrl
+// Author: Francesco Montorsi
+// Created: 2006-04-17
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_XH_FONTPICKERCTRL_H_
+#define _WX_XH_FONTPICKERCTRL_H_
+
+#include "wx/xrc/xmlres.h"
+
+#if wxUSE_FONTPICKERCTRL
+
+class WXDLLIMPEXP_XRC wxFontPickerCtrlXmlHandler : public wxXmlResourceHandler
+{
+DECLARE_DYNAMIC_CLASS(wxFontPickerCtrlXmlHandler)
+public:
+ wxFontPickerCtrlXmlHandler();
+ virtual wxObject *DoCreateResource();
+ virtual bool CanHandle(wxXmlNode *node);
+};
+
+#endif // wxUSE_FONTPICKERCTRL
+
+#endif // _WX_XH_FONTPICKERCTRL_H_
widgets_combobox.o \
widgets_datepick.o \
widgets_gauge.o \
+ widgets_hyperlnk.o \
widgets_listbox.o \
widgets_notebook.o \
+ widgets_picker.o \
widgets_radiobox.o \
widgets_slider.o \
widgets_spinbtn.o \
widgets_gauge.o: $(srcdir)/gauge.cpp
$(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $(srcdir)/gauge.cpp
+widgets_hyperlnk.o: $(srcdir)/hyperlnk.cpp
+ $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $(srcdir)/hyperlnk.cpp
+
widgets_listbox.o: $(srcdir)/listbox.cpp
$(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $(srcdir)/listbox.cpp
widgets_notebook.o: $(srcdir)/notebook.cpp
$(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $(srcdir)/notebook.cpp
+widgets_picker.o: $(srcdir)/picker.cpp
+ $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $(srcdir)/picker.cpp
+
widgets_radiobox.o: $(srcdir)/radiobox.cpp
$(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $(srcdir)/radiobox.cpp
--- /dev/null
+/* XPM */\r
+static char *picker_xpm[]={\r
+"32 32 148 2",\r
+"Qt c None",\r
+".P c #00a900",\r
+".q c #00aa01",\r
+".y c #00ab01",\r
+".r c #00ac01",\r
+".G c #00ad01",\r
+".j c #018700",\r
+".C c #018901",\r
+".L c #018d00",\r
+".Q c #01a901",\r
+".D c #029902",\r
+".O c #029b02",\r
+".F c #03ab03",\r
+".Y c #059a05",\r
+".u c #067706",\r
+".Z c #069905",\r
+".E c #06ab06",\r
+".W c #0d7e09",\r
+"#s c #0d8109",\r
+".T c #0f750e",\r
+".3 c #117611",\r
+"#b c #167616",\r
+".z c #16b116",\r
+".0 c #179716",\r
+".b c #198219",\r
+".9 c #1a7a16",\r
+".A c #1a7a19",\r
+".V c #1a8719",\r
+"#j c #1f821a",\r
+"#l c #217d1f",\r
+".f c #218b20",\r
+".x c #22b422",\r
+"#t c #267c23",\r
+".c c #278427",\r
+".s c #288428",\r
+".7 c #2a8e29",\r
+"#B c #2b712a",\r
+".m c #319231",\r
+"#. c #31a130",\r
+".M c #32bc32",\r
+".X c #349632",\r
+".H c #37bb37",\r
+"#h c #389635",\r
+".p c #3ebd3e",\r
+".8 c #3f923c",\r
+".I c #40ab40",\r
+".i c #52c152",\r
+".R c #52c353",\r
+".v c #5cc15c",\r
+"#A c #5e795f",\r
+".a c #5fa25f",\r
+".6 c #639064",\r
+"#u c #659a65",\r
+".B c #68a868",\r
+"an c #69696a",\r
+".w c #6bcb6c",\r
+"af c #6e6e6f",\r
+"#9 c #6e6e70",\r
+"#5 c #6f6f70",\r
+".K c #70ab70",\r
+"#0 c #717172",\r
+"#W c #727273",\r
+"aq c #737373",\r
+"#S c #737374",\r
+"#G c #747475",\r
+"## c #75bc74",\r
+".J c #77a876",\r
+"ao c #797979",\r
+".S c #7ece7e",\r
+".1 c #7fd27f",\r
+".k c #80b080",\r
+"ag c #818181",\r
+"ak c #838384",\r
+"aa c #878788",\r
+".d c #8ab88a",\r
+"#r c #8dbc8d",\r
+"#2 c #8e8e90",\r
+"#O c #8f8f90",\r
+"#J c #909091",\r
+"#D c #909092",\r
+"#e c #919192",\r
+".t c #92bd92",\r
+"al c #939395",\r
+".N c #93d893",\r
+"#C c #95b795",\r
+"#6 c #989899",\r
+"#m c #9abc9a",\r
+"#a c #9ecb9e",\r
+".e c #a5c8a5",\r
+".2 c #a5daa5",\r
+".o c #a9e0a9",\r
+"#k c #aad4a9",\r
+".g c #abddab",\r
+"#i c #accaab",\r
+"#H c #afafaf",\r
+"#M c #b0b0b0",\r
+"am c #b0b0b2",\r
+"a. c #b1b1b1",\r
+".n c #b4e3b4",\r
+".l c #b7d1b7",\r
+"aj c #bababc",\r
+"#g c #bbc9bc",\r
+"#d c #bcbcbc",\r
+"#v c #bdbdbd",\r
+".5 c #bebebe",\r
+"#I c #bfbfbf",\r
+".4 c #bfd2bf",\r
+"#N c #c0c0c0",\r
+"ai c #c0c0c3",\r
+"#T c #c1c1c1",\r
+"ah c #c5c5c8",\r
+"ar c #c8c8c8",\r
+"ac c #c8c8cb",\r
+"#c c #c8d8c8",\r
+"a# c #cbcbcb",\r
+".# c #cbdccb",\r
+"#1 c #cccccc",\r
+"ae c #cececf",\r
+"#8 c #cfcfd1",\r
+"#4 c #d0d0d2",\r
+"#f c #d0d0d3",\r
+"#Z c #d1d1d2",\r
+"#n c #d1d1d3",\r
+"#V c #d2d2d3",\r
+"#w c #d2d2d4",\r
+"#K c #d3d3d4",\r
+"#p c #d3d3d5",\r
+"#P c #d3d3d6",\r
+"#F c #d4d4d5",\r
+"#z c #d4d4d6",\r
+"#X c #d4d4d7",\r
+"#3 c #d5d5d8",\r
+"#U c #d8d8da",\r
+"#Q c #d9d9db",\r
+"#E c #d9d9dc",\r
+"ap c #dadada",\r
+"ad c #dadadb",\r
+"#x c #dadadc",\r
+"#q c #dadeda",\r
+"#o c #dbdbdd",\r
+"ab c #dddddf",\r
+".h c #ddf3dd",\r
+"#y c #e2e2e3",\r
+"#L c #e3e3e3",\r
+"#R c #e3e3e4",\r
+".U c #e3e8e3",\r
+"#Y c #e4e4e4",\r
+"#7 c #e5e5e5",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#.a.b.c.dQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.e.f.g.h.i.j.kQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.l.m.n.o.p.q.r.sQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.t.u.v.w.x.y.r.z.AQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.B.C.D.E.F.G.y.H.I.JQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.K.L.M.N.O.P.Q.R.S.T.UQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.V.W.X.Y.Z.0.1.2.3.4QtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.5.6.7.8.9#.###a#b#cQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQt#d#e#f#g#h#i#j#k#l#mQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQt#d#e#n#o#p#q#r#s#t#uQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQt#v#e#w#x#p#y#z#A#B#CQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQt.5#D#w#E#p#y#F#G#HQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQt#I#J#p#E#K#L#K#G#MQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQt#N#O#P#Q#K#R#K#S#MQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQt#T#e#P#U#K#R#V#W#MQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQt#T#e#X#U#K#Y#Z#0#MQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQt#1#2#3#U#V#Y#4#5#MQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQt#6#X#n#K#7#8#9a.QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQta#aaabacadaeaf#HQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtagahacaiajaf#HQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtakalamanaoapQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQt#v#5aqarQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",\r
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt"};\r
$(OBJS)\widgets_hyperlnk.obj \
$(OBJS)\widgets_listbox.obj \
$(OBJS)\widgets_notebook.obj \
+ $(OBJS)\widgets_picker.obj \
$(OBJS)\widgets_radiobox.obj \
$(OBJS)\widgets_slider.obj \
$(OBJS)\widgets_spinbtn.obj \
$(OBJS)\widgets_notebook.obj: .\notebook.cpp
$(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
+$(OBJS)\widgets_picker.obj: .\picker.cpp
+ $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
+
$(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
$(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
$(OBJS)\widgets_hyperlnk.o \
$(OBJS)\widgets_listbox.o \
$(OBJS)\widgets_notebook.o \
+ $(OBJS)\widgets_picker.o \
$(OBJS)\widgets_radiobox.o \
$(OBJS)\widgets_slider.o \
$(OBJS)\widgets_spinbtn.o \
$(OBJS)\widgets_notebook.o: ./notebook.cpp
$(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\widgets_picker.o: ./picker.cpp
+ $(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\widgets_radiobox.o: ./radiobox.cpp
$(CXX) -c -o $@ $(WIDGETS_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\widgets_hyperlnk.obj \
$(OBJS)\widgets_listbox.obj \
$(OBJS)\widgets_notebook.obj \
+ $(OBJS)\widgets_picker.obj \
$(OBJS)\widgets_radiobox.obj \
$(OBJS)\widgets_slider.obj \
$(OBJS)\widgets_spinbtn.obj \
$(OBJS)\widgets_notebook.obj: .\notebook.cpp
$(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
+$(OBJS)\widgets_picker.obj: .\picker.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
+
$(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
$(CXX) /c /nologo /TP /Fo$@ $(WIDGETS_CXXFLAGS) $**
$(OBJS)\widgets_hyperlnk.obj &
$(OBJS)\widgets_listbox.obj &
$(OBJS)\widgets_notebook.obj &
+ $(OBJS)\widgets_picker.obj &
$(OBJS)\widgets_radiobox.obj &
$(OBJS)\widgets_slider.obj &
$(OBJS)\widgets_spinbtn.obj &
$(OBJS)\widgets_notebook.obj : .AUTODEPEND .\notebook.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(WIDGETS_CXXFLAGS) $<
+$(OBJS)\widgets_picker.obj : .AUTODEPEND .\picker.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(WIDGETS_CXXFLAGS) $<
+
$(OBJS)\widgets_radiobox.obj : .AUTODEPEND .\radiobox.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(WIDGETS_CXXFLAGS) $<
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Program: wxWidgets Widgets Sample
+// Name: picker.cpp
+// Purpose: Part of the widgets sample showing wx*PickerCtrl
+// Author: Francesco Montorsi
+// Created: 22/4/2006
+// Id: $Id$
+// Copyright: (c) 2006 Francesco Montorsi
+// License: wxWindows license
+/////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
+// declarations
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// for compilers that support precompilation, includes "wx/wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#if wxUSE_COLOURPICKERCTRL || wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL || wxUSE_FONTPICKERCTRL
+
+// for all others, include the necessary headers
+#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/log.h"
+#endif
+
+#include "wx/artprov.h"
+#include "wx/sizer.h"
+#include "wx/stattext.h"
+#include "wx/checkbox.h"
+#include "wx/imaglist.h"
+
+#include "wx/clrpicker.h"
+#include "wx/filepicker.h"
+#include "wx/fontpicker.h"
+
+#include "widgets.h"
+
+#include "icons/picker.xpm"
+
+// ----------------------------------------------------------------------------
+// constants
+// ----------------------------------------------------------------------------
+
+// control ids
+enum
+{
+ PickerPage_Reset = wxID_HIGHEST,
+
+#if wxUSE_COLOURPICKERCTRL
+ PickerPage_Colour,
+#endif
+#if wxUSE_FILEPICKERCTRL
+ PickerPage_File,
+#endif
+#if wxUSE_DIRPICKERCTRL
+ PickerPage_Dir,
+#endif
+#if wxUSE_FONTPICKERCTRL
+ PickerPage_Font
+#endif
+};
+
+
+// ----------------------------------------------------------------------------
+// PickerWidgetsPage
+// ----------------------------------------------------------------------------
+
+class PickerWidgetsPage : public WidgetsPage
+{
+public:
+ PickerWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
+ virtual ~PickerWidgetsPage(){};
+
+ virtual wxControl *GetWidget() const { /*return m_fontPicker;*/ return NULL; }
+ virtual void RecreateWidget() { RecreateAllPickers(); }
+
+protected:
+ enum PickerKind
+ {
+ Picker_None = -1,
+ Picker_Colour,
+ Picker_File,
+ Picker_Dir,
+ Picker_Font
+ };
+
+ // called only once at first construction
+ void CreatePickers(PickerKind picker);
+
+ // called to recreate an existing control
+ void RecreatePicker(PickerKind picker);
+
+ // recreate all existing picker controls
+ void RecreateAllPickers();
+
+ // restore the checkboxes state to the initial values
+ void Reset();
+
+ // get the initial style for the picker of the given kind
+ long GetPickerStyle(PickerKind kind);
+
+
+ // the pickers and the relative event handlers
+#if wxUSE_COLOURPICKERCTRL
+ wxColourPickerCtrl *m_clrPicker;
+ void OnColourChange(wxColourPickerEvent &ev);
+#endif
+#if wxUSE_FILEPICKERCTRL
+ wxFilePickerCtrl *m_filePicker;
+ void OnFileChange(wxFileDirPickerEvent &ev);
+#endif
+#if wxUSE_DIRPICKERCTRL
+ wxDirPickerCtrl *m_dirPicker;
+ void OnDirChange(wxFileDirPickerEvent &ev);
+#endif
+#if wxUSE_FONTPICKERCTRL
+ wxFontPickerCtrl *m_fontPicker;
+ void OnFontChange(wxFontPickerEvent &ev);
+#endif
+ void OnCheckBox(wxCommandEvent &ev);
+ void OnButtonReset(wxCommandEvent &ev);
+
+
+ // other controls
+ // --------------
+
+ wxCheckBox *m_chkColourTextCtrl,
+ *m_chkColourShowLabel;
+
+ wxCheckBox *m_chkFileTextCtrl,
+ *m_chkFileOverwritePrompt,
+ *m_chkFileMustExist,
+ *m_chkFileChangeDir;
+
+ wxCheckBox *m_chkDirTextCtrl,
+ *m_chkDirChangeDir,
+ *m_chkDirMustExist;
+
+ wxCheckBox *m_chkFontTextCtrl,
+ *m_chkFontDescAsLabel,
+ *m_chkFontUseFontForLabel;
+
+ wxFlexGridSizer *m_sizerPicker;
+
+private:
+ DECLARE_EVENT_TABLE()
+ DECLARE_WIDGETS_PAGE(PickerWidgetsPage)
+};
+
+// ----------------------------------------------------------------------------
+// event tables
+// ----------------------------------------------------------------------------
+
+BEGIN_EVENT_TABLE(PickerWidgetsPage, WidgetsPage)
+ EVT_BUTTON(PickerPage_Reset, PickerWidgetsPage::OnButtonReset)
+
+#if wxUSE_COLOURPICKERCTRL
+ EVT_COLOURPICKER_CHANGED(PickerPage_Colour, PickerWidgetsPage::OnColourChange)
+#endif
+#if wxUSE_FILEPICKERCTRL
+ EVT_FILEPICKER_CHANGED(PickerPage_File, PickerWidgetsPage::OnFileChange)
+#endif
+#if wxUSE_DIRPICKERCTRL
+ EVT_DIRPICKER_CHANGED(PickerPage_Dir, PickerWidgetsPage::OnDirChange)
+#endif
+#if wxUSE_FONTPICKERCTRL
+ EVT_FONTPICKER_CHANGED(PickerPage_Font, PickerWidgetsPage::OnFontChange)
+#endif
+
+ EVT_CHECKBOX(wxID_ANY, PickerWidgetsPage::OnCheckBox)
+END_EVENT_TABLE()
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+IMPLEMENT_WIDGETS_PAGE(PickerWidgetsPage, _T("Pickers"), PICKER_CTRLS);
+
+PickerWidgetsPage::PickerWidgetsPage(WidgetsBookCtrl *book,
+ wxImageList *imaglist)
+ : WidgetsPage(book, imaglist, picker_xpm)
+{
+ imaglist->Add(wxBitmap(picker_xpm));
+
+ // left pane
+ wxSizer *boxleft = new wxBoxSizer(wxVERTICAL);
+
+#if wxUSE_COLOURPICKERCTRL
+ wxStaticBoxSizer *clrbox = new wxStaticBoxSizer(wxVERTICAL, this, _T("&ColourPicker style"));
+ m_chkColourTextCtrl = CreateCheckBoxAndAddToSizer(clrbox, _T("With textctrl"), false);
+ m_chkColourShowLabel = CreateCheckBoxAndAddToSizer(clrbox, _T("With label"), false);
+ boxleft->Add(clrbox, 0, wxALL|wxGROW, 5);
+ boxleft->Add(1, 1, 1, wxGROW | wxALL, 5); // spacer
+#endif // wxUSE_COLOURPICKERCTRL
+
+#if wxUSE_FILEPICKERCTRL
+ wxStaticBoxSizer *filebox = new wxStaticBoxSizer(wxVERTICAL, this, _T("&FilePicker style"));
+ m_chkFileTextCtrl = CreateCheckBoxAndAddToSizer(filebox, _T("With textctrl"), false);
+ m_chkFileOverwritePrompt = CreateCheckBoxAndAddToSizer(filebox, _T("Overwrite prompt"), false);
+ m_chkFileMustExist = CreateCheckBoxAndAddToSizer(filebox, _T("File must exist"), false);
+ m_chkFileChangeDir = CreateCheckBoxAndAddToSizer(filebox, _T("Change working dir"), false);
+ boxleft->Add(filebox, 0, wxALL|wxGROW, 5);
+ boxleft->Add(1, 1, 1, wxGROW | wxALL, 5); // spacer
+#endif // wxUSE_FILEPICKERCTRL
+
+#if wxUSE_DIRPICKERCTRL
+ wxStaticBoxSizer *dirbox = new wxStaticBoxSizer(wxVERTICAL, this, _T("&DirPicker style"));
+ m_chkDirTextCtrl = CreateCheckBoxAndAddToSizer(dirbox, _T("With textctrl"), false);
+ m_chkDirMustExist = CreateCheckBoxAndAddToSizer(dirbox, _T("Dir must exist"), false);
+ m_chkDirChangeDir = CreateCheckBoxAndAddToSizer(dirbox, _T("Change working dir"), false);
+ boxleft->Add(dirbox, 0, wxALL|wxGROW, 5);
+ boxleft->Add(1, 1, 1, wxGROW | wxALL, 5); // spacer
+#endif // wxUSE_DIRPICKERCTRL
+
+#if wxUSE_FONTPICKERCTRL
+ wxStaticBoxSizer *fontbox = new wxStaticBoxSizer(wxVERTICAL, this, _T("&FontPicker style"));
+ m_chkFontTextCtrl = CreateCheckBoxAndAddToSizer(fontbox, _T("With textctrl"));
+ m_chkFontDescAsLabel = CreateCheckBoxAndAddToSizer(fontbox, _T("Font desc as btn label"));
+ m_chkFontUseFontForLabel = CreateCheckBoxAndAddToSizer(fontbox, _T("Use font for label"), false);
+ boxleft->Add(fontbox, 0, wxALL|wxGROW, 5);
+#endif // wxUSE_FONTPICKERCTRL
+
+ boxleft->Add(new wxButton(this, PickerPage_Reset, _T("&Reset")),
+ 0, wxALIGN_CENTRE_HORIZONTAL | wxALL, 15);
+
+ Reset(); // set checkboxes state
+
+ // create pickers
+ m_clrPicker = NULL;
+ m_filePicker = NULL;
+ m_fontPicker = NULL;
+ m_dirPicker = NULL;
+
+ int nrows = 0;
+#if wxUSE_COLOURPICKERCTRL
+ CreatePickers(Picker_Colour);
+ nrows++;
+#endif // wxUSE_COLOURPICKERCTRL
+
+#if wxUSE_FILEPICKERCTRL
+ CreatePickers(Picker_File);
+ nrows++;
+#endif // wxUSE_FILEPICKERCTRL
+
+#if wxUSE_DIRPICKERCTRL
+ CreatePickers(Picker_Dir);
+ nrows++;
+#endif // wxUSE_DIRPICKERCTRL
+
+#if wxUSE_FONTPICKERCTRL
+ CreatePickers(Picker_Font);
+ nrows++;
+#endif // wxUSE_FONTPICKERCTRL
+
+ m_sizerPicker = new wxFlexGridSizer(nrows, 2, 0, 0); // 4 rows x 2 columns
+#if wxUSE_COLOURPICKERCTRL
+ m_sizerPicker->Add(new wxStaticText(this, wxID_ANY, wxT("wxColourPickerCtrl:")),
+ 0, wxALIGN_CENTER | wxALL, 5);
+ m_sizerPicker->Add(m_clrPicker, 1, wxGROW | wxALL, 5);
+#endif
+#if wxUSE_FILEPICKERCTRL
+ m_sizerPicker->Add(new wxStaticText(this, wxID_ANY, wxT("wxFilePickerCtrl:")),
+ 0, wxALIGN_CENTER | wxALL, 5);
+ m_sizerPicker->Add(m_filePicker, 1, wxGROW | wxALL, 5);
+#endif
+#if wxUSE_DIRPICKERCTRL
+ m_sizerPicker->Add(new wxStaticText(this, wxID_ANY, wxT("wxDirPickerCtrl:")),
+ 0, wxALIGN_CENTER | wxALL, 5);
+ m_sizerPicker->Add(m_dirPicker, 1, wxGROW | wxALL, 5);
+#endif
+#if wxUSE_FONTPICKERCTRL
+ m_sizerPicker->Add(new wxStaticText(this, wxID_ANY, wxT("wxFontPickerCtrl:")),
+ 0, wxALIGN_CENTER | wxALL, 5);
+ m_sizerPicker->Add(m_fontPicker, 1, wxGROW | wxALL, 5);
+#endif
+
+ m_sizerPicker->AddGrowableCol(1, 3);
+
+ // right pane
+ wxStaticBoxSizer *
+ boxright = new wxStaticBoxSizer(wxVERTICAL, this, _T("Pickers"));
+ boxright->Add(m_sizerPicker, 1, wxGROW | wxALL, 5);
+
+ // global pane
+ wxSizer *sz = new wxBoxSizer(wxHORIZONTAL);
+ sz->Add(boxleft, 0, wxGROW|wxALL, 5);
+ sz->Add(boxright, 1, wxGROW|wxALL, 5);
+
+ SetSizerAndFit(sz);
+}
+
+void PickerWidgetsPage::CreatePickers(PickerKind picker)
+{
+ switch ( picker )
+ {
+#if wxUSE_COLOURPICKERCTRL
+ case Picker_Colour:
+ delete m_clrPicker;
+
+ m_clrPicker = new wxColourPickerCtrl(this, PickerPage_Colour, *wxRED,
+ wxDefaultPosition, wxDefaultSize,
+ GetPickerStyle(Picker_Colour));
+ break;
+#endif // wxUSE_COLOURPICKERCTRL
+
+#if wxUSE_FILEPICKERCTRL
+ case Picker_File:
+ delete m_filePicker;
+
+ // pass an empty string as initial file
+ m_filePicker = new wxFilePickerCtrl(this, PickerPage_File,
+ wxEmptyString,
+ wxT("Hello!"), wxT("*"),
+ wxDefaultPosition, wxDefaultSize,
+ GetPickerStyle(Picker_File));
+ break;
+#endif // wxUSE_FILEPICKERCTRL
+
+#if wxUSE_DIRPICKERCTRL
+ case Picker_Dir:
+ delete m_dirPicker;
+
+ m_dirPicker = new wxDirPickerCtrl(this, PickerPage_Dir,
+ wxGetHomeDir(), wxT("Hello!"),
+ wxDefaultPosition, wxDefaultSize,
+ GetPickerStyle(Picker_Dir));
+ break;
+#endif // wxUSE_DIRPICKERCTRL
+
+#if wxUSE_FONTPICKERCTRL
+ case Picker_Font:
+ delete m_fontPicker;
+
+ m_fontPicker = new wxFontPickerCtrl(this, PickerPage_Font,
+ *wxSWISS_FONT,
+ wxDefaultPosition, wxDefaultSize,
+ GetPickerStyle(Picker_Font));
+ break;
+#endif // wxUSE_FONTPICKERCTRL
+
+ default:
+ wxFAIL_MSG( _T("unknown picker kind") );
+ }
+}
+
+long PickerWidgetsPage::GetPickerStyle(PickerKind picker)
+{
+ long style = 0;
+
+ switch (picker)
+ {
+#if wxUSE_COLOURPICKERCTRL
+ case Picker_Colour:
+ if ( m_chkColourTextCtrl->GetValue() )
+ style |= wxCLRP_USE_TEXTCTRL;
+
+ if ( m_chkColourShowLabel->GetValue() )
+ style |= wxCLRP_SHOW_LABEL;
+
+ break;
+#endif // wxUSE_COLOURPICKERCTRL
+
+#if wxUSE_FILEPICKERCTRL
+ case Picker_File:
+ if ( m_chkFileTextCtrl->GetValue() )
+ style |= wxFLP_USE_TEXTCTRL;
+
+ if ( m_chkFileOverwritePrompt->GetValue() )
+ style |= wxFLP_OVERWRITE_PROMPT;
+
+ if ( m_chkFileMustExist->GetValue() )
+ style |= wxFLP_FILE_MUST_EXIST;
+
+ if ( m_chkFileChangeDir->GetValue() )
+ style |= wxFLP_CHANGE_DIR;
+
+ break;
+#endif // wxUSE_FILEPICKERCTRL
+
+#if wxUSE_DIRPICKERCTRL
+ case Picker_Dir:
+ if ( m_chkDirTextCtrl->GetValue() )
+ style |= wxDIRP_USE_TEXTCTRL;
+
+ if ( m_chkDirMustExist->GetValue() )
+ style |= wxDIRP_DIR_MUST_EXIST;
+
+ if ( m_chkDirChangeDir->GetValue() )
+ style |= wxDIRP_CHANGE_DIR;
+
+ break;
+#endif // wxUSE_DIRPICKERCTRL
+
+#if wxUSE_FONTPICKERCTRL
+ case Picker_Font:
+ if ( m_chkFontTextCtrl->GetValue() )
+ style |= wxFNTP_USE_TEXTCTRL;
+
+ if ( m_chkFontUseFontForLabel->GetValue() )
+ style |= wxFNTP_USEFONT_FOR_LABEL;
+
+ if ( m_chkFontDescAsLabel->GetValue() )
+ style |= wxFNTP_FONTDESC_AS_LABEL;
+
+ break;
+#endif // wxUSE_FONTPICKERCTRL
+
+ default:
+ wxFAIL_MSG( _T("unknown picker kind") );
+ }
+
+ return style;
+}
+
+void PickerWidgetsPage::RecreatePicker(PickerKind picker)
+{
+ switch ( picker )
+ {
+#if wxUSE_COLOURPICKERCTRL
+ case Picker_Colour:
+ m_sizerPicker->Remove(1);
+ CreatePickers(Picker_Colour);
+ m_sizerPicker->Insert(1, m_clrPicker, 1, wxGROW|wxALL, 5);
+ break;
+#endif // wxUSE_COLOURPICKERCTRL
+
+#if wxUSE_FILEPICKERCTRL
+ case Picker_File:
+ m_sizerPicker->Remove(3);
+ CreatePickers(Picker_File);
+ m_sizerPicker->Insert(3, m_filePicker, 1, wxGROW|wxALL, 5);
+ break;
+#endif // wxUSE_FILEPICKERCTRL
+
+#if wxUSE_DIRPICKERCTRL
+ case Picker_Dir:
+ m_sizerPicker->Remove(5);
+ CreatePickers(Picker_Dir);
+ m_sizerPicker->Insert(5, m_dirPicker, 1, wxGROW|wxALL, 5);
+ break;
+#endif // wxUSE_DIRPICKERCTRL
+
+#if wxUSE_FONTPICKERCTRL
+ case Picker_Font:
+ wxASSERT(m_sizerPicker->Remove(7));
+ CreatePickers(Picker_Font);
+ m_sizerPicker->Insert(7, m_fontPicker, 1, wxGROW|wxALL, 5);
+ break;
+#endif // wxUSE_FONTPICKERCTRL
+
+ default:
+ wxFAIL_MSG( _T("unknown picker kind") );
+ }
+
+ m_sizerPicker->Layout();
+}
+
+void PickerWidgetsPage::RecreateAllPickers()
+{
+#if wxUSE_COLOURPICKERCTRL
+ RecreatePicker(Picker_Colour);
+#endif // wxUSE_COLOURPICKERCTRL
+
+#if wxUSE_FILEPICKERCTRL
+ RecreatePicker(Picker_File);
+#endif // wxUSE_FILEPICKERCTRL
+
+#if wxUSE_DIRPICKERCTRL
+ RecreatePicker(Picker_Dir);
+#endif // wxUSE_DIRPICKERCTRL
+
+#if wxUSE_FONTPICKERCTRL
+ RecreatePicker(Picker_Font);
+#endif // wxUSE_FONTPICKERCTRL
+}
+
+void PickerWidgetsPage::Reset()
+{
+#if wxUSE_COLOURPICKERCTRL
+ m_chkColourTextCtrl->SetValue((wxCLRP_DEFAULT_STYLE & wxCLRP_USE_TEXTCTRL) != 0);
+ m_chkColourShowLabel->SetValue((wxCLRP_DEFAULT_STYLE & wxCLRP_SHOW_LABEL) != 0);
+#endif
+
+#if wxUSE_FILEPICKERCTRL
+ m_chkFileTextCtrl->SetValue((wxFLP_DEFAULT_STYLE & wxFLP_USE_TEXTCTRL) != 0);
+ m_chkFileOverwritePrompt->SetValue((wxFLP_DEFAULT_STYLE & wxFLP_OVERWRITE_PROMPT) != 0);
+ m_chkFileMustExist->SetValue((wxFLP_DEFAULT_STYLE & wxFLP_FILE_MUST_EXIST) != 0);
+ m_chkFileChangeDir->SetValue((wxFLP_DEFAULT_STYLE & wxFLP_CHANGE_DIR) != 0);
+#endif
+
+#if wxUSE_DIRPICKERCTRL
+ m_chkDirTextCtrl->SetValue((wxDIRP_DEFAULT_STYLE & wxDIRP_USE_TEXTCTRL) != 0);
+ m_chkDirMustExist->SetValue((wxDIRP_DEFAULT_STYLE & wxDIRP_DIR_MUST_EXIST) != 0);
+ m_chkDirChangeDir->SetValue((wxDIRP_DEFAULT_STYLE & wxDIRP_CHANGE_DIR) != 0);
+#endif
+
+#if wxUSE_FONTPICKERCTRL
+ m_chkFontTextCtrl->SetValue((wxFNTP_DEFAULT_STYLE & wxFNTP_USE_TEXTCTRL) != 0);
+ m_chkFontUseFontForLabel->SetValue((wxFNTP_DEFAULT_STYLE & wxFNTP_USEFONT_FOR_LABEL) != 0);
+ m_chkFontDescAsLabel->SetValue((wxFNTP_DEFAULT_STYLE & wxFNTP_FONTDESC_AS_LABEL) != 0);
+#endif
+}
+
+
+// ----------------------------------------------------------------------------
+// event handlers
+// ----------------------------------------------------------------------------
+
+void PickerWidgetsPage::OnButtonReset(wxCommandEvent& WXUNUSED(event))
+{
+ Reset();
+
+ RecreateAllPickers();
+}
+
+#if wxUSE_COLOURPICKERCTRL
+void PickerWidgetsPage::OnColourChange(wxColourPickerEvent& event)
+{
+ wxLogMessage(wxT("The colour changed to '%s' !"),
+ event.GetColour().GetAsString(wxC2S_CSS_SYNTAX).c_str());
+}
+#endif
+#if wxUSE_FILEPICKERCTRL
+void PickerWidgetsPage::OnFileChange(wxFileDirPickerEvent& event)
+{
+ wxLogMessage(wxT("The file changed to '%s' ! The current working directory is '%s'"),
+ event.GetPath().c_str(), wxGetCwd().c_str());
+}
+#endif
+#if wxUSE_DIRPICKERCTRL
+void PickerWidgetsPage::OnDirChange(wxFileDirPickerEvent& event)
+{
+ wxLogMessage(wxT("The directory changed to '%s' ! The current working directory is '%s'"),
+ event.GetPath().c_str(), wxGetCwd().c_str());
+}
+#endif
+#if wxUSE_FONTPICKERCTRL
+void PickerWidgetsPage::OnFontChange(wxFontPickerEvent& event)
+{
+ wxLogMessage(wxT("The font changed to '%s' with size %d !"),
+ event.GetFont().GetFaceName().c_str(), event.GetFont().GetPointSize());
+}
+#endif
+
+void PickerWidgetsPage::OnCheckBox(wxCommandEvent &event)
+{
+ if (event.GetEventObject() == m_chkColourTextCtrl ||
+ event.GetEventObject() == m_chkColourShowLabel)
+ RecreatePicker(Picker_Colour);
+
+ if (event.GetEventObject() == m_chkFileTextCtrl ||
+ event.GetEventObject() == m_chkFileOverwritePrompt ||
+ event.GetEventObject() == m_chkFileMustExist ||
+ event.GetEventObject() == m_chkFileChangeDir)
+ RecreatePicker(Picker_File);
+
+ if (event.GetEventObject() == m_chkDirTextCtrl ||
+ event.GetEventObject() == m_chkDirChangeDir ||
+ event.GetEventObject() == m_chkDirMustExist)
+ RecreatePicker(Picker_Dir);
+
+ if (event.GetEventObject() == m_chkFontTextCtrl ||
+ event.GetEventObject() == m_chkFontDescAsLabel ||
+ event.GetEventObject() == m_chkFontUseFontForLabel)
+ RecreatePicker(Picker_Font);
+}
+
+#endif // wxUSE_COLOURPICKERCTRL || wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL || wxUSE_FONTPICKERCTRL
hyperlnk.cpp
listbox.cpp
notebook.cpp
+ picker.cpp
radiobox.cpp
slider.cpp
spinbtn.cpp
# End Source File
# Begin Source File
+SOURCE=.\picker.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\radiobox.cpp
# End Source File
# Begin Source File
</object>
</object>
</object>
+
+ <object class="notebookpage">
+ <label>wx*PickerCtrl</label>
+ <object class="wxPanel" name="pickers">
+ <object class="wxFlexGridSizer">
+ <cols>2</cols>
+ <rows>0</rows>
+ <vgap>10</vgap>
+ <hgap>10</hgap>
+ <growablecols>0,1</growablecols>
+ <growablerows>0,1,2,3</growablerows>
+ <object class="sizeritem">
+ <flag>wxALIGN_CENTRE|wxALL</flag>
+ <border>5</border>
+ <object class="wxStaticText" name="controls_pickers_statictext">
+ <label>wxColourPickerCtrl:</label>
+ </object>
+ </object>
+ <object class="sizeritem">
+ <flag>wxGROW|wxALL</flag>
+ <option>1</option>
+ <border>5</border>
+ <object class="wxColourPickerCtrl" name="controls_colourpicker">
+ <colour>#00ff00</colour>
+ <style>wxCLRP_SHOW_LABEL</style>
+ </object>
+ </object>
+ <object class="sizeritem">
+ <flag>wxALIGN_CENTRE|wxALL</flag>
+ <border>5</border>
+ <object class="wxStaticText" name="controls_pickers_statictext2">
+ <label>wxFilePickerCtrl:</label>
+ </object>
+ </object>
+ <object class="sizeritem">
+ <flag>wxGROW|wxALL</flag>
+ <option>1</option>
+ <border>5</border>
+ <object class="wxFilePickerCtrl" name="controls_filepicker">
+ <message>Here goes a message</message>
+ <style>wxFLP_OPEN</style>
+ <wildcard>*.png</wildcard>
+ <default-path/>
+ </object>
+ </object>
+ <object class="sizeritem">
+ <flag>wxALIGN_CENTRE|wxALL</flag>
+ <border>5</border>
+ <object class="wxStaticText" name="controls_pickers_statictext3">
+ <label>wxDirPickerCtrl:</label>
+ </object>
+ </object>
+ <object class="sizeritem">
+ <flag>wxGROW|wxALL</flag>
+ <option>1</option>
+ <border>5</border>
+ <object class="wxDirPickerCtrl" name="controls_dirpicker">
+ <default-path/>
+ <style>wxDIRP_CHANGE_DIR</style>
+ <message>Here goes a message</message>
+ </object>
+ </object>
+ <object class="sizeritem">
+ <flag>wxALIGN_CENTRE|wxALL</flag>
+ <border>5</border>
+ <object class="wxStaticText" name="controls_pickers_statictext4">
+ <label>wxFontPickerCtrl:</label>
+ </object>
+ </object>
+ <object class="sizeritem">
+ <flag>wxGROW|wxALL</flag>
+ <option>1</option>
+ <border>5</border>
+ <object class="wxFontPickerCtrl" name="controls_fontpicker">
+ <style>wxFNTP_USEFONT_FOR_LABEL</style>
+ <default-font>
+ <size>20</size>
+ <sysfont>wxSYS_DEFAULT_GUI_FONT</sysfont>
+ </default-font>
+ </object>
+ </object>
+ </object>
+ </object>
+ </object>
+
<object class="notebookpage">
<label>The Rest</label>
<object class="wxPanel" name="Rest">
/* Define this if your version of GTK+ is greater than 2.4 */
#undef __WXGTK24__
+/* Define this if your version of GTK+ is greater than 2.6 */
+#undef __WXGTK26__
+
/* Define this if you want to use GPE features */
#undef __WXGPE__
#define wxUSE_CHECKBOX 0
#define wxUSE_CHECKLISTBOX 0
#define wxUSE_CHOICE 0
+#define wxUSE_COLOURPICKERCTRL 0
#define wxUSE_COMBOBOX 0
#define wxUSE_DATAVIEWCTRL 0
#define wxUSE_DATEPICKCTRL 0
+#define wxUSE_DIRPICKERCTRL 0
+#define wxUSE_FILEPICKERCTRL 0
+#define wxUSE_FONTPICKERCTRL 0
#define wxUSE_GAUGE 0
#define wxUSE_HYPERLINKCTRL 0
#define wxUSE_LISTBOX 0
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: src/common/clrpickercmn.cpp
+// Purpose: wxColourPickerCtrl class implementation
+// Author: Francesco Montorsi (readapted code written by Vadim Zeitlin)
+// Modified by:
+// Created: 15/04/2006
+// RCS-ID: $Id$
+// Copyright: (c) Vadim Zeitlin, Francesco Montorsi
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
+// declarations
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#include "wx/clrpicker.h"
+
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+#if wxUSE_COLOURPICKERCTRL
+
+DEFINE_EVENT_TYPE(wxEVT_COMMAND_COLOURPICKER_CHANGED)
+IMPLEMENT_DYNAMIC_CLASS(wxColourPickerCtrl, wxPickerBase)
+IMPLEMENT_DYNAMIC_CLASS(wxColourPickerEvent, wxEvent)
+
+// ----------------------------------------------------------------------------
+// wxColourPickerCtrl
+// ----------------------------------------------------------------------------
+
+#define M_PICKER ((wxColourPickerWidget*)m_picker)
+
+bool wxColourPickerCtrl::Create( wxWindow *parent, wxWindowID id,
+ const wxColour &col,
+ const wxPoint &pos, const wxSize &size,
+ long style, const wxValidator& validator,
+ const wxString &name )
+{
+ if (!wxPickerBase::CreateBase(parent, id, col.GetAsString(), pos, size,
+ style, validator, name))
+ return false;
+
+ // we are not interested to the ID of our picker as we connect
+ // to its "changed" event dynamically...
+ m_picker = new wxColourPickerWidget(this, wxID_ANY, col, wxPoint(40,0), wxSize(30,-1),
+ GetPickerStyle(style));
+ m_picker->Connect(wxEVT_COMMAND_COLOURPICKER_CHANGED,
+ wxColourPickerEventHandler(wxColourPickerCtrl::OnColourChange),
+ NULL, this);
+
+ return true;
+}
+
+void wxColourPickerCtrl::SetColour(const wxColour &col)
+{
+ M_PICKER->SetColour(col);
+ UpdateTextCtrlFromPicker();
+}
+
+bool wxColourPickerCtrl::SetColour(const wxString &text)
+{
+ wxColour col(text); // smart wxString->wxColour conversion
+ if ( !col.Ok() )
+ return false;
+ M_PICKER->SetColour(col);
+ UpdateTextCtrlFromPicker();
+
+ return true;
+}
+
+void wxColourPickerCtrl::UpdatePickerFromTextCtrl()
+{
+ wxASSERT(m_text);
+
+ if (m_bIgnoreNextTextCtrlUpdate)
+ {
+ // ignore this update
+ m_bIgnoreNextTextCtrlUpdate = false;
+ return;
+ }
+
+ // wxString -> wxColour conversion
+ wxColour col(m_text->GetValue());
+ if ( !col.Ok() )
+ return; // invalid user input
+
+ if (M_PICKER->GetColour() != col)
+ {
+ M_PICKER->SetColour(col);
+
+ // fire an event
+ wxColourPickerEvent event(this, GetId(), col);
+ GetEventHandler()->ProcessEvent(event);
+ }
+}
+
+void wxColourPickerCtrl::UpdateTextCtrlFromPicker()
+{
+ if (!m_text)
+ return; // no textctrl to update
+
+ // NOTE: this SetValue() will generate an unwanted wxEVT_COMMAND_TEXT_UPDATED
+ // which will trigger a unneeded UpdateFromTextCtrl(); thus before using
+ // SetValue() we set the m_bIgnoreNextTextCtrlUpdate flag...
+ m_bIgnoreNextTextCtrlUpdate = true;
+ m_text->SetValue(M_PICKER->GetColour().GetAsString());
+}
+
+
+
+// ----------------------------------------------------------------------------
+// wxColourPickerCtrl - event handlers
+// ----------------------------------------------------------------------------
+
+void wxColourPickerCtrl::OnColourChange(wxColourPickerEvent &ev)
+{
+ UpdateTextCtrlFromPicker();
+
+ // the wxColourPickerWidget sent us a colour-change notification.
+ // forward this event to our parent
+ wxColourPickerEvent event(this, GetId(), ev.GetColour());
+ GetEventHandler()->ProcessEvent(event);
+}
+
+#endif // wxUSE_COLOURPICKERCTRL
WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT");
#endif
extern WXDLLEXPORT_DATA(const wxChar) wxHyperlinkCtrlNameStr[] = wxT("hyperlink");
+extern WXDLLEXPORT_DATA(const wxChar) wxColourPickerCtrlNameStr[] = wxT("colourpicker");
+extern WXDLLEXPORT_DATA(const wxChar) wxColourPickerWidgetNameStr[] = wxT("colourpickerwidget");
+extern WXDLLEXPORT_DATA(const wxChar) wxFontPickerCtrlNameStr[] = wxT("fontpicker");
+extern WXDLLEXPORT_DATA(const wxChar) wxFontPickerWidgetNameStr[] = wxT("fontpickerwidget");
+extern WXDLLEXPORT_DATA(const wxChar) wxFilePickerCtrlNameStr[] = wxT("filepicker");
+extern WXDLLEXPORT_DATA(const wxChar) wxFilePickerWidgetNameStr[] = wxT("filepickerwidget");
+extern WXDLLEXPORT_DATA(const wxChar) wxDirPickerCtrlNameStr[] = wxT("dirpicker");
+extern WXDLLEXPORT_DATA(const wxChar) wxDirPickerWidgetNameStr[] = wxT("dirpickerwidget");
+extern WXDLLEXPORT_DATA(const wxChar) wxFilePickerWidgetLabel[] = wxT("Browse");
+extern WXDLLEXPORT_DATA(const wxChar) wxDirPickerWidgetLabel[] = wxT("Browse");
+
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: src/common/filepickercmn.cpp
+// Purpose: wxFilePickerCtrl class implementation
+// Author: Francesco Montorsi (readapted code written by Vadim Zeitlin)
+// Modified by:
+// Created: 15/04/2006
+// RCS-ID: $Id$
+// Copyright: (c) Vadim Zeitlin, Francesco Montorsi
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
+// declarations
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#include "wx/filepicker.h"
+
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+#if wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL
+
+DEFINE_EVENT_TYPE(wxEVT_COMMAND_FILEPICKER_CHANGED)
+DEFINE_EVENT_TYPE(wxEVT_COMMAND_DIRPICKER_CHANGED)
+IMPLEMENT_DYNAMIC_CLASS(wxFileDirPickerEvent, wxCommandEvent)
+
+// ----------------------------------------------------------------------------
+// wxFileDirPickerCtrlBase
+// ----------------------------------------------------------------------------
+
+#define M_PICKER ((wxFilePickerWidget*)m_picker)
+
+bool wxFileDirPickerCtrlBase::CreateBase( wxWindow *parent, wxWindowID id,
+ const wxString &path, const wxString &message,
+ const wxString &wildcard,
+ const wxPoint &pos, const wxSize &size,
+ long style, const wxValidator& validator,
+ const wxString &name )
+{
+ wxASSERT_MSG(path.IsEmpty() || CheckPath(path), wxT("Invalid initial path !"));
+
+ if (!wxPickerBase::CreateBase(parent, id, path, pos, size,
+ style, validator, name))
+ return false;
+
+ // create a wxFilePickerWidget or a wxDirPickerWidget...
+ if (!CreatePicker(this, path, message, wildcard))
+ return false;
+ m_picker->Connect(GetEventType(),
+ wxFileDirPickerEventHandler(wxFileDirPickerCtrlBase::OnFileDirChange),
+ NULL, this);
+
+ // default's wxPickerBase textctrl limit is too small for this control:
+ // make it bigger
+ if (m_text) m_text->SetMaxLength(512);
+
+ return true;
+}
+
+void wxFileDirPickerCtrlBase::SetPath(const wxString &path)
+{
+ M_PICKER->SetPath(path);
+ UpdateTextCtrlFromPicker();
+}
+
+void wxFileDirPickerCtrlBase::UpdatePickerFromTextCtrl()
+{
+ wxASSERT(m_text);
+
+ if (m_bIgnoreNextTextCtrlUpdate)
+ {
+ // ignore this update
+ m_bIgnoreNextTextCtrlUpdate = false;
+ return;
+ }
+
+ // remove the eventually present path-separator from the end of the textctrl
+ // string otherwise we would generate a wxFileDirPickerEvent when changing
+ // from e.g. /home/user to /home/user/ and we want to avoid it !
+ wxString newpath(m_text->GetValue());
+ if (!newpath.empty() && wxFileName::IsPathSeparator(newpath.Last()))
+ newpath.RemoveLast();
+ if (!CheckPath(newpath))
+ return; // invalid user input
+
+ if (M_PICKER->GetPath() != newpath)
+ {
+ M_PICKER->SetPath(newpath);
+
+ // update current working directory, if necessary
+ // NOTE: the path separator is required because if newpath is "C:"
+ // then no change would happen
+ if (IsCwdToUpdate())
+ wxSetWorkingDirectory(newpath + wxFileName::GetPathSeparator());
+
+ // fire an event
+ wxFileDirPickerEvent event(GetEventType(), this, GetId(), newpath);
+ GetEventHandler()->ProcessEvent(event);
+ }
+}
+
+void wxFileDirPickerCtrlBase::UpdateTextCtrlFromPicker()
+{
+ if (!m_text)
+ return; // no textctrl to update
+
+ // NOTE: this SetValue() will generate an unwanted wxEVT_COMMAND_TEXT_UPDATED
+ // which will trigger a unneeded UpdateFromTextCtrl(); thus before using
+ // SetValue() we set the m_bIgnoreNextTextCtrlUpdate flag...
+ m_bIgnoreNextTextCtrlUpdate = true;
+ m_text->SetValue(M_PICKER->GetPath());
+}
+
+
+
+// ----------------------------------------------------------------------------
+// wxFileDirPickerCtrlBase - event handlers
+// ----------------------------------------------------------------------------
+
+void wxFileDirPickerCtrlBase::OnFileDirChange(wxFileDirPickerEvent &ev)
+{
+ UpdateTextCtrlFromPicker();
+
+ // the wxFilePickerWidget sent us a colour-change notification.
+ // forward this event to our parent
+ wxFileDirPickerEvent event(GetEventType(), this, GetId(), ev.GetPath());
+ GetEventHandler()->ProcessEvent(event);
+}
+
+#endif // wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL
+
+#if wxUSE_FILEPICKERCTRL
+IMPLEMENT_DYNAMIC_CLASS(wxFilePickerCtrl, wxPickerBase)
+#endif
+#if wxUSE_DIRPICKERCTRL
+IMPLEMENT_DYNAMIC_CLASS(wxDirPickerCtrl, wxPickerBase)
+#endif
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: src/common/fontpickercmn.cpp
+// Purpose: wxFontPickerCtrl class implementation
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 15/04/2006
+// RCS-ID: $Id$
+// Copyright: (c) Francesco Montorsi
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
+// declarations
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#include "wx/fontpicker.h"
+#include "wx/fontenum.h"
+#include "wx/tokenzr.h"
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+#if wxUSE_FONTPICKERCTRL
+
+DEFINE_EVENT_TYPE(wxEVT_COMMAND_FONTPICKER_CHANGED)
+IMPLEMENT_DYNAMIC_CLASS(wxFontPickerCtrl, wxPickerBase)
+IMPLEMENT_DYNAMIC_CLASS(wxFontPickerEvent, wxCommandEvent)
+
+// ----------------------------------------------------------------------------
+// wxFontPickerCtrl
+// ----------------------------------------------------------------------------
+
+#define M_PICKER ((wxFontPickerWidget*)m_picker)
+
+bool wxFontPickerCtrl::Create( wxWindow *parent, wxWindowID id,
+ const wxFont &initial,
+ const wxPoint &pos, const wxSize &size,
+ long style, const wxValidator& validator,
+ const wxString &name )
+{
+ // by default, the textctrl is, if present, as big as the picker, for wxFontPickerCtrl
+ SetTextCtrlProportion(1);
+
+ if (!wxPickerBase::CreateBase(parent, id, Font2String(initial),
+ pos, size, style, validator, name))
+ return false;
+
+ // the picker of a wxFontPickerCtrl is a wxFontPickerWidget
+ m_picker = new wxFontPickerWidget(this, wxID_ANY, initial,
+ wxDefaultPosition, wxDefaultSize,
+ GetPickerStyle(style));
+ m_picker->Connect(wxEVT_COMMAND_FONTPICKER_CHANGED,
+ wxFontPickerEventHandler(wxFontPickerCtrl::OnFontChange),
+ NULL, this);
+
+ return true;
+}
+
+wxString wxFontPickerCtrl::Font2String(const wxFont &f)
+{
+ wxString ret = f.GetNativeFontInfoUserDesc();
+#ifdef __WXMSW__
+ // on wxMSW the encoding of the font is appended at the end of the string;
+ // since encoding is not very user-friendly we remove it.
+ wxFontEncoding enc = f.GetEncoding();
+ if ( enc != wxFONTENCODING_DEFAULT && enc != wxFONTENCODING_SYSTEM )
+ ret = ret.BeforeLast(wxT(' '));
+#endif
+ return ret;
+}
+
+wxFont wxFontPickerCtrl::String2Font(const wxString &s)
+{
+ wxString str(s);
+ wxFont ret;
+ double n;
+
+ // put a limit on the maximum point size which the user can enter
+ // NOTE: we suppose the last word of given string is the pointsize
+ wxString size = str.AfterLast(wxT(' '));
+ if (size.ToDouble(&n))
+ {
+ if (n < 1)
+ str = str.Left(str.Len() - size.Len()) + wxT("1");
+ else if (n >= m_nMaxPointSize)
+ str = str.Left(str.Len() - size.Len()) +
+ wxString::Format(wxT("%d"), m_nMaxPointSize);
+ }
+
+ if (!ret.SetNativeFontInfoUserDesc(str))
+ return wxNullFont;
+
+ return ret;
+}
+
+void wxFontPickerCtrl::SetSelectedFont(const wxFont &f)
+{
+ M_PICKER->SetSelectedFont(f);
+ UpdateTextCtrlFromPicker();
+}
+
+void wxFontPickerCtrl::UpdatePickerFromTextCtrl()
+{
+ wxASSERT(m_text);
+
+ if (m_bIgnoreNextTextCtrlUpdate)
+ {
+ // ignore this update
+ m_bIgnoreNextTextCtrlUpdate = false;
+ return;
+ }
+
+ // NB: we don't use the wxFont::wxFont(const wxString &) constructor
+ // since that constructor expects the native font description
+ // string returned by wxFont::GetNativeFontInfoDesc() and not
+ // the user-friendly one returned by wxFont::GetNativeFontInfoUserDesc()
+ wxFont f = String2Font(m_text->GetValue());
+ if (!f.Ok())
+ return; // invalid user input
+
+ if (M_PICKER->GetSelectedFont() != f)
+ {
+ M_PICKER->SetSelectedFont(f);
+
+ // fire an event
+ wxFontPickerEvent event(this, GetId(), f);
+ GetEventHandler()->ProcessEvent(event);
+ }
+}
+
+void wxFontPickerCtrl::UpdateTextCtrlFromPicker()
+{
+ if (!m_text)
+ return; // no textctrl to update
+
+ // NOTE: this SetValue() will generate an unwanted wxEVT_COMMAND_TEXT_UPDATED
+ // which will trigger a unneeded UpdateFromTextCtrl(); thus before using
+ // SetValue() we set the m_bIgnoreNextTextCtrlUpdate flag...
+ m_bIgnoreNextTextCtrlUpdate = true;
+ m_text->SetValue(Font2String(M_PICKER->GetSelectedFont()));
+}
+
+
+
+// ----------------------------------------------------------------------------
+// wxFontPickerCtrl - event handlers
+// ----------------------------------------------------------------------------
+
+void wxFontPickerCtrl::OnFontChange(wxFontPickerEvent &ev)
+{
+ UpdateTextCtrlFromPicker();
+
+ // the wxFontPickerWidget sent us a colour-change notification.
+ // forward this event to our parent
+ wxFontPickerEvent event(this, GetId(), ev.GetFont());
+ GetEventHandler()->ProcessEvent(event);
+}
+
+#endif // wxUSE_FONTPICKERCTRL
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: common/pickerbase.cpp
+// Purpose: wxPickerBase class implementation
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 15/04/2006
+// RCS-ID: $Id$
+// Copyright: (c) Francesco Montorsi
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
+// declarations
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#include "wx/pickerbase.h"
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+IMPLEMENT_ABSTRACT_CLASS(wxPickerBase, wxWindow)
+
+// ----------------------------------------------------------------------------
+// wxPickerBase
+// ----------------------------------------------------------------------------
+
+wxPickerBase::~wxPickerBase()
+{
+ // destroy the windows we are managing: these are not automatically
+ // destroyed by wxWindow because they are not built as our children
+ // but rather as children of the parent of the wxPickerBase class
+ // (since wxPickerBase does not represent a real window)
+ if (m_text) m_text->Destroy();
+ if (m_picker) m_picker->Destroy();
+}
+
+bool wxPickerBase::CreateBase(wxWindow *parent,
+ wxWindowID id,
+ const wxString &text,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator& validator,
+ const wxString& name)
+{
+ // remove any border style from our style as wxPickerBase's window must be
+ // invisible (user styles must be set on the textctrl or the platform-dependent picker)
+ style &= ~wxBORDER_MASK;
+ if (!wxControl::Create(parent, id, pos, size, style | wxNO_BORDER | wxTAB_TRAVERSAL,
+ validator, name))
+ return false;
+
+ if (HasFlag(wxPB_USE_TEXTCTRL))
+ {
+ // NOTE: the style of this class (wxPickerBase) and the style of the
+ // attached text control are different: GetTextCtrlStyle() extracts
+ // the styles related to the textctrl from the styles passed here
+ m_text = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxPoint(0, 0),
+ wxSize(40, size.GetHeight()), GetTextCtrlStyle(style));
+ if (!m_text)
+ {
+ wxFAIL_MSG( wxT("wxPickerBase's textctrl creation failed") );
+ return false;
+ }
+
+ // set the maximum lenght allowed for this textctrl.
+ // This is very important since any change to it will trigger an update in
+ // the m_picker; for very long strings, this real-time synchronization could
+ // become a CPU-blocker and thus should be avoided.
+ // 32 characters will be more than enough for all common uses.
+ m_text->SetMaxLength(32);
+
+ // set the initial contents of the textctrl
+ m_text->SetValue(text);
+
+ m_text->Connect(wxEVT_COMMAND_TEXT_UPDATED,
+ wxCommandEventHandler(wxPickerBase::OnTextCtrlUpdate),
+ NULL, this);
+ m_text->Connect(wxEVT_KILL_FOCUS,
+ wxFocusEventHandler(wxPickerBase::OnTextCtrlKillFocus),
+ NULL, this);
+
+ m_text->Connect(wxEVT_DESTROY,
+ wxWindowDestroyEventHandler(wxPickerBase::OnTextCtrlDelete),
+ NULL, this);
+ }
+
+ return true;
+}
+
+void wxPickerBase::OnTextCtrlKillFocus(wxFocusEvent &)
+{
+ wxASSERT(m_text);
+
+ // don't leave the textctrl empty
+ if (m_text->GetValue().IsEmpty())
+ UpdateTextCtrlFromPicker();
+}
+
+void wxPickerBase::OnTextCtrlDelete(wxWindowDestroyEvent &)
+{
+ // the textctrl has been deleted; our pointer is invalid!
+ m_text = NULL;
+}
+
+void wxPickerBase::OnTextCtrlUpdate(wxCommandEvent &)
+{
+ // for each text-change, update the picker
+ UpdatePickerFromTextCtrl();
+}
+
+int wxPickerBase::GetTextCtrlWidth(int given)
+{
+ // compute the width of m_text like a wxBoxSizer(wxHORIZONTAL) would do
+ // NOTE: the proportion of m_picker is fixed to 1
+ return ((given - m_margin) / (m_textProportion + 1)) * m_textProportion;
+}
+
+void wxPickerBase::DoSetSizeHints(int minW, int minH, int maxW, int maxH, int incW, int incH)
+{
+ wxControl::DoSetSizeHints(minW, minH, maxW, maxH, incW, incH);
+
+ if (m_text)
+ {
+ // compute minWidth and maxWidth of the ausiliary textctrl
+ int textCtrlMinW = -1, textCtrlMaxW = -1;
+ if (minW != -1)
+ {
+ textCtrlMinW = GetTextCtrlWidth(minW);
+ minW -= textCtrlMinW + m_margin;
+ }
+
+ if (maxW != -1)
+ {
+ textCtrlMaxW = GetTextCtrlWidth(maxW);
+ maxW -= textCtrlMaxW + m_margin;
+ }
+
+ m_text->SetSizeHints(textCtrlMinW, minH, textCtrlMaxW, maxH, incW, incH);
+ }
+
+ if (m_picker)
+ m_picker->SetSizeHints(minW, minH, maxW, maxH, incW, incH);
+}
+
+void wxPickerBase::DoSetSize(int x, int y, int width, int height, int sizeFlags)
+{
+ wxControl::DoSetSize(x, y, width, height, sizeFlags);
+
+ int pickerx = 0;
+ if (m_text)
+ {
+ // compute width of the ausiliary textctrl
+ int textCtrlW = GetTextCtrlWidth(width);
+
+ // set the m_text's position relatively to this window
+ m_text->SetSize(0, 0, textCtrlW, height, sizeFlags);
+
+ // change position of the real picker
+ pickerx += textCtrlW + m_margin;
+ width -= textCtrlW + m_margin;
+ }
+
+ if (m_picker)
+ m_picker->SetSize(pickerx, 0, width, height, sizeFlags);
+}
+
+wxSize wxPickerBase::DoGetBestSize() const
+{
+ wxSize ret = m_picker->GetBestSize();
+
+ if (m_text)
+ {
+ wxSize sz = m_text->GetBestSize();
+
+ ret.SetWidth( ret.GetWidth() + sz.GetWidth() + m_margin );
+ ret.SetHeight( wxMax(ret.GetHeight(), sz.GetHeight()) );
+ }
+
+ return ret;
+}
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: src/generic/clrpickerg.cpp
+// Purpose: wxGenericColourButton class implementation
+// Author: Francesco Montorsi (readapted code written by Vadim Zeitlin)
+// Modified by:
+// Created: 15/04/2006
+// RCS-ID: $Id$
+// Copyright: (c) Vadim Zeitlin, Francesco Montorsi
+// 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/window.h"
+#endif //WX_PRECOMP
+
+#include "wx/clrpicker.h"
+#include "wx/colordlg.h"
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+#if wxUSE_COLOURPICKERCTRL
+
+wxColourData wxGenericColourButton::ms_data;
+IMPLEMENT_DYNAMIC_CLASS(wxGenericColourButton, wxButton)
+
+// ----------------------------------------------------------------------------
+// wxGenericColourButton
+// ----------------------------------------------------------------------------
+
+bool wxGenericColourButton::Create( wxWindow *parent, wxWindowID id,
+ const wxColour &col, const wxPoint &pos,
+ const wxSize &size, long style,
+ const wxValidator& validator, const wxString &name)
+{
+ // create this button
+ if (!wxButton::Create( parent, id, wxEmptyString, pos,
+ size, style, validator, name ))
+ {
+ wxFAIL_MSG( wxT("wxGenericColourButton creation failed") );
+ return false;
+ }
+
+ // and handle user clicks on it
+ Connect(wxEVT_COMMAND_BUTTON_CLICKED,
+ wxCommandEventHandler(wxGenericColourButton::OnButtonClick),
+ NULL, this);
+
+ m_colour = col;
+ UpdateColour();
+ InitColourData();
+
+ return true;
+}
+
+void wxGenericColourButton::InitColourData()
+{
+ ms_data.SetChooseFull(true);
+ for (int i = 0; i < 16; i++)
+ {
+ // fill with grey tones the custom colors palette
+ wxColour colour(i*16, i*16, i*16);
+ ms_data.SetCustomColour(i, colour);
+ }
+}
+
+void wxGenericColourButton::OnButtonClick(wxCommandEvent& WXUNUSED(ev))
+{
+ // update the wxColouData to be shown in the the dialog
+ ms_data.SetColour(m_colour);
+
+ // create the colour dialog and display it
+ wxColourDialog dlg(this, &ms_data);
+ if (dlg.ShowModal() == wxID_OK)
+ {
+ ms_data = dlg.GetColourData();
+ SetColour(ms_data.GetColour());
+
+ // fire an event
+ wxColourPickerEvent event(this, GetId(), m_colour);
+ GetEventHandler()->ProcessEvent(event);
+ }
+}
+
+void wxGenericColourButton::UpdateColour()
+{
+ if ( !m_colour.Ok() )
+ {
+ if ( HasFlag(wxCLRP_SHOW_LABEL) )
+ SetLabel(wxEmptyString);
+ return;
+ }
+
+ // some combinations of the fg/bg colours may be unreadable, so we invert
+ // the colour to make sure fg colour is different enough from m_colour
+ wxColour colFg(~m_colour.Red(), ~m_colour.Green(), ~m_colour.Blue());
+
+ SetForegroundColour(colFg);
+ SetBackgroundColour(m_colour);
+
+ if ( HasFlag(wxCLRP_SHOW_LABEL) )
+ SetLabel(m_colour.GetAsString(wxC2S_HTML_SYNTAX));
+}
+
+#endif // wxUSE_COLOURPICKERCTRL
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: src/generic/filepickerg.cpp
+// Purpose: wxGenericFileDirButton class implementation
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 15/04/2006
+// RCS-ID: $Id$
+// Copyright: (c) Francesco Montorsi
+// 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/window.h"
+#endif //WX_PRECOMP
+
+#include "wx/filepicker.h"
+#include "wx/filedlg.h"
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+#if wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL
+
+IMPLEMENT_DYNAMIC_CLASS(wxGenericFileButton, wxButton)
+IMPLEMENT_DYNAMIC_CLASS(wxGenericDirButton, wxButton)
+
+// ----------------------------------------------------------------------------
+// wxGenericFileButton
+// ----------------------------------------------------------------------------
+
+bool wxGenericFileDirButton::Create( wxWindow *parent, wxWindowID id,
+ const wxString &label, const wxString &path,
+ const wxString &message, const wxString &wildcard,
+ const wxPoint &pos, const wxSize &size, long style,
+ const wxValidator& validator, const wxString &name)
+{
+ // create this button
+ if (!wxButton::Create(parent, id, label, pos, size, style,
+ validator, name))
+ {
+ wxFAIL_MSG( wxT("wxGenericFileButton creation failed") );
+ return false;
+ }
+
+ // and handle user clicks on it
+ Connect(wxEVT_COMMAND_BUTTON_CLICKED,
+ wxCommandEventHandler(wxGenericFileDirButton::OnButtonClick),
+ NULL, this);
+
+ // create the dialog associated with this button
+ m_path = path;
+ return CreateDialog(message, wildcard);
+}
+
+void wxGenericFileDirButton::OnButtonClick(wxCommandEvent& WXUNUSED(ev))
+{
+ if (m_dialog->ShowModal() == wxID_OK)
+ {
+ // save the path
+ UpdatePathFromDialog();
+
+ // fire an event
+ wxFileDirPickerEvent event(GetEventType(), this, GetId(), m_path);
+ GetEventHandler()->ProcessEvent(event);
+ }
+}
+
+#endif // wxUSE_FILEPICKERCTRL || wxUSE_DIRPICKERCTRL
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: src/generic/fontpickerg.cpp
+// Purpose: wxGenericFontButton class implementation
+// Author: Francesco Montorsi
+// Modified by:
+// Created: 15/04/2006
+// RCS-ID: $Id$
+// Copyright: (c) Francesco Montorsi
+// 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/window.h"
+#endif //WX_PRECOMP
+
+#include "wx/fontpicker.h"
+#include "wx/fontdlg.h"
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+#if wxUSE_FONTPICKERCTRL
+
+wxFontData wxGenericFontButton::ms_data;
+IMPLEMENT_DYNAMIC_CLASS(wxGenericFontButton, wxButton)
+
+// ----------------------------------------------------------------------------
+// wxGenericFontButton
+// ----------------------------------------------------------------------------
+
+bool wxGenericFontButton::Create( wxWindow *parent, wxWindowID id,
+ const wxFont &initial, const wxPoint &pos,
+ const wxSize &size, long style,
+ const wxValidator& validator, const wxString &name)
+{
+ wxString label = (style & wxFNTP_FONTDESC_AS_LABEL) ?
+ wxEmptyString : // label will be updated by UpdateFont
+ wxT("Choose font");
+
+ // create this button
+ if (!wxButton::Create( parent, id, label, pos,
+ size, style, validator, name ))
+ {
+ wxFAIL_MSG( wxT("wxGenericFontButton creation failed") );
+ return false;
+ }
+
+ // and handle user clicks on it
+ Connect(wxEVT_COMMAND_BUTTON_CLICKED,
+ wxCommandEventHandler(wxGenericFontButton::OnButtonClick),
+ NULL, this);
+
+ m_selectedFont = initial;
+ UpdateFont();
+ InitFontData();
+
+ return true;
+}
+
+void wxGenericFontButton::InitFontData()
+{
+ ms_data.SetAllowSymbols(true);
+ ms_data.SetColour(*wxBLACK);
+ ms_data.EnableEffects(true);
+}
+
+void wxGenericFontButton::OnButtonClick(wxCommandEvent& WXUNUSED(ev))
+{
+ // update the wxFontData to be shown in the the dialog
+ ms_data.SetInitialFont(m_selectedFont);
+
+ // create the font dialog and display it
+ wxFontDialog dlg(this, ms_data);
+ if (dlg.ShowModal() == wxID_OK)
+ {
+ ms_data = dlg.GetFontData();
+ SetSelectedFont(ms_data.GetChosenFont());
+
+ // fire an event
+ wxFontPickerEvent event(this, GetId(), m_selectedFont);
+ GetEventHandler()->ProcessEvent(event);
+ }
+}
+
+void wxGenericFontButton::UpdateFont()
+{
+ if ( !m_selectedFont.Ok() )
+ return;
+
+ SetForegroundColour(ms_data.GetColour());
+
+ if (HasFlag(wxFNTP_USEFONT_FOR_LABEL))
+ {
+ // use currently selected font for the label...
+ wxButton::SetFont(m_selectedFont);
+ }
+
+ if (HasFlag(wxFNTP_FONTDESC_AS_LABEL))
+ {
+ SetLabel(wxString::Format(wxT("%s, %d"),
+ m_selectedFont.GetFaceName().c_str(),
+ m_selectedFont.GetPointSize()));
+ }
+}
+
+#endif // wxUSE_FONTPICKERCTRL
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: src/gtk/clrpicker.cpp
+// Purpose: implementation of wxColourButton
+// Author: Francesco Montorsi
+// Modified By:
+// Created: 15/04/2006
+// Id: $Id$
+// Copyright: (c) Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#include "wx/gtk/private.h"
+#include "wx/clrpicker.h"
+
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
+
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+#if wxUSE_COLOURPICKERCTRL && defined(__WXGTK24__)
+
+//-----------------------------------------------------------------------------
+// "color-set"
+//-----------------------------------------------------------------------------
+
+extern "C" {
+static void gtk_clrbutton_setcolor_callback(GtkColorButton *widget,
+ wxColourButton *p)
+{
+ // update the m_colour member of the wxColourButton
+ wxASSERT(p);
+ gtk_color_button_get_color(widget, p->GetGdkColor());
+
+ // fire the colour-changed event
+ wxColourPickerEvent event(p, p->GetId(), p->GetColour());
+ p->GetEventHandler()->ProcessEvent(event);
+}
+}
+
+//-----------------------------------------------------------------------------
+// wxColourButton
+//-----------------------------------------------------------------------------
+
+IMPLEMENT_DYNAMIC_CLASS(wxColourButton, wxGenericColourButton)
+
+bool wxColourButton::Create( wxWindow *parent, wxWindowID id,
+ const wxColour &col,
+ const wxPoint &pos, const wxSize &size,
+ long style, const wxValidator& validator,
+ const wxString &name )
+{
+ if (!gtk_check_version(2,4,0))
+ {
+ m_needParent = true;
+
+ if (!PreCreation( parent, pos, size ) ||
+ !wxControl::CreateBase(parent, id, pos, size, style, validator, name))
+ {
+ wxFAIL_MSG( wxT("wxColourButton creation failed") );
+ return false;
+ }
+
+ m_colour = col;
+ m_widget = gtk_color_button_new_with_color( m_colour.GetColor() );
+ gtk_widget_show( GTK_WIDGET(m_widget) );
+
+ // GtkColourButton signals
+ g_signal_connect(m_widget, "color-set",
+ G_CALLBACK(gtk_clrbutton_setcolor_callback), this);
+
+
+ m_parent->DoAddChild( this );
+
+ PostCreation(size);
+ SetBestSize(size);
+ }
+ else
+ return wxGenericColourButton::Create(parent, id, col, pos, size,
+ style, validator, name);
+ return true;
+}
+
+wxColourButton::~wxColourButton()
+{
+}
+
+void wxColourButton::UpdateColour()
+{
+ if (!gtk_check_version(2,4,0))
+ gtk_color_button_set_color(GTK_COLOR_BUTTON(m_widget), m_colour.GetColor());
+ else
+ wxGenericColourButton::UpdateColour();
+}
+
+#endif // wxUSE_COLOURPICKERCTRL && defined(__WXGTK24__)
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: src/gtk/filepicker.cpp
+// Purpose: implementation of wxFileButton and wxDirButton
+// Author: Francesco Montorsi
+// Modified By:
+// Created: 15/04/2006
+// Id: $Id$
+// Copyright: (c) Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#include "wx/gtk/private.h"
+#include "wx/filepicker.h"
+
+
+#if wxUSE_TOOLTIPS
+#include "wx/tooltip.h"
+#endif
+
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
+
+#include <unistd.h> // chdir
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+#if wxUSE_FILEPICKERCTRL && defined(__WXGTK26__)
+
+//-----------------------------------------------------------------------------
+// wxFileButton
+//-----------------------------------------------------------------------------
+
+IMPLEMENT_DYNAMIC_CLASS(wxFileButton, wxButton)
+
+bool wxFileButton::Create( wxWindow *parent, wxWindowID id,
+ const wxString &label, const wxString &path,
+ const wxString &message, const wxString &wildcard,
+ const wxPoint &pos, const wxSize &size,
+ long style, const wxValidator& validator,
+ const wxString &name )
+{
+ if (!gtk_check_version(2,6,0))
+ {
+ // VERY IMPORTANT: this code is identic to relative code in wxFileButton;
+ // if you find a problem here, fix it also in wxFileButton !
+
+ m_needParent = true;
+
+ if (!PreCreation( parent, pos, size ) ||
+ !wxControl::CreateBase(parent, id, pos, size, style & wxWINDOW_STYLE_MASK,
+ validator, name))
+ {
+ wxFAIL_MSG( wxT("wxFileButton creation failed") );
+ return false;
+ }
+
+ // create the dialog associated with this button
+ SetWindowStyle(style);
+ m_path = path;
+ if (!CreateDialog(message, wildcard))
+ return false;
+
+ // little trick used to avoid problems when there are other GTK windows 'grabbed':
+ // GtkFileChooserDialog won't be responsive to user events if there is another
+ // window which called gtk_grab_add (and this happens if e.g. a wxDialog is running
+ // in modal mode in the application - see wxDialogGTK::ShowModal).
+ // An idea could be to put the grab on the m_dialog->m_widget when the GtkFileChooserButton
+ // is clicked and then remove it as soon as the user closes the dialog itself.
+ // Unfortunately there's no way to hook in the 'clicked' event of the GtkFileChooserButton,
+ // thus we add grab on m_dialog->m_widget when it's shown and remove it when it's
+ // hidden simply using its "show" and "hide" events - clean & simple :)
+ g_signal_connect(m_dialog->m_widget, "show", G_CALLBACK(gtk_grab_add), NULL);
+ g_signal_connect(m_dialog->m_widget, "hide", G_CALLBACK(gtk_grab_remove), NULL);
+
+ // NOTE: we deliberately ignore the given label as GtkFileChooserButton
+ // use as label the currently selected file
+ m_widget = gtk_file_chooser_button_new_with_dialog( m_dialog->m_widget );
+ gtk_widget_show( GTK_WIDGET(m_widget) );
+
+ // we need to know when the dialog has been dismissed clicking OK...
+ // NOTE: the "clicked" signal is not available for a GtkFileChooserButton
+ // thus we are forced to use wxFileDialog's event
+ m_dialog->Connect(wxEVT_COMMAND_BUTTON_CLICKED,
+ wxCommandEventHandler(wxFileButton::OnDialogOK),
+ NULL, this);
+
+ m_parent->DoAddChild( this );
+
+ PostCreation(size);
+ SetBestSize(size);
+ }
+ else
+ return wxGenericFileButton::Create(parent, id, label, path, message, wildcard,
+ pos, size, style, validator, name);
+ return true;
+}
+
+wxFileButton::~wxFileButton()
+{
+ // GtkFileChooserButton will automatically destroy the
+ // GtkFileChooserDialog associated with m_dialog.
+ // Thus we have to set its m_widget to NULL to avoid
+ // double destruction on same widget
+ m_dialog->m_widget = NULL;
+}
+
+void wxFileButton::OnDialogOK(wxCommandEvent& ev)
+{
+ // the wxFileDialog associated with the GtkFileChooserButton has been closed
+ // using the OK button, thus the selected file has changed...
+ if (ev.GetId() == wxID_OK)
+ {
+ // ...update our path
+ UpdatePathFromDialog();
+
+ // ...and fire an event
+ wxFileDirPickerEvent event(wxEVT_COMMAND_FILEPICKER_CHANGED, this, GetId(), m_path);
+ GetEventHandler()->ProcessEvent(event);
+ }
+}
+
+#endif // wxUSE_FILEPICKERCTRL && defined(__WXGTK26__)
+
+
+
+
+#if wxUSE_DIRPICKERCTRL && defined(__WXGTK26__)
+
+//-----------------------------------------------------------------------------
+// "current-folder-changed"
+//-----------------------------------------------------------------------------
+
+extern "C" {
+static void gtk_dirbutton_currentfolderchanged_callback(GtkFileChooserButton *widget,
+ wxDirButton *p)
+{
+ // update the m_path member of the wxDirButtonGTK
+ wxASSERT(p);
+
+ // NB: it's important to use gtk_file_chooser_get_filename instead of
+ // gtk_file_chooser_get_current_folder (see GTK docs) !
+ gchar* filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(widget));
+ p->UpdatePath(filename);
+
+ // since GtkFileChooserButton when used to pick directories also uses a combobox,
+ // maybe that the current folder has been changed but not through the GtkFileChooserDialog
+ // and thus the 'gtk_filedialog_ok_callback' could have not been called...
+ // thus we need to make sure the current working directory is updated if wxDIRP_CHANGE_DIR
+ // style was given.
+ if (p->HasFlag(wxDIRP_CHANGE_DIR))
+ chdir(filename);
+ g_free(filename);
+
+ // ...and fire an event
+ wxFileDirPickerEvent event(wxEVT_COMMAND_DIRPICKER_CHANGED, p, p->GetId(), p->GetPath());
+ p->GetEventHandler()->ProcessEvent(event);
+}
+}
+
+
+//-----------------------------------------------------------------------------
+// wxDirButtonGTK
+//-----------------------------------------------------------------------------
+
+IMPLEMENT_DYNAMIC_CLASS(wxDirButton, wxButton)
+
+bool wxDirButton::Create( wxWindow *parent, wxWindowID id,
+ const wxString &label, const wxString &path,
+ const wxString &message, const wxString &wildcard,
+ const wxPoint &pos, const wxSize &size,
+ long style, const wxValidator& validator,
+ const wxString &name )
+{
+ if (!gtk_check_version(2,6,0))
+ {
+ // VERY IMPORTANT: this code is identic to relative code in wxFileButton;
+ // if you find a problem here, fix it also in wxFileButton !
+
+ m_needParent = true;
+
+ if (!PreCreation( parent, pos, size ) ||
+ !wxControl::CreateBase(parent, id, pos, size, style & wxWINDOW_STYLE_MASK,
+ validator, name))
+ {
+ wxFAIL_MSG( wxT("wxDirButtonGTK creation failed") );
+ return false;
+ }
+
+ // create the dialog associated with this button
+ SetWindowStyle(style);
+ m_path = path;
+ if (!CreateDialog(message, wildcard))
+ return false;
+
+ // little trick used to avoid problems when there are other GTK windows 'grabbed':
+ // GtkFileChooserDialog won't be responsive to user events if there is another
+ // window which called gtk_grab_add (and this happens if e.g. a wxDialog is running
+ // in modal mode in the application - see wxDialogGTK::ShowModal).
+ // An idea could be to put the grab on the m_dialog->m_widget when the GtkFileChooserButton
+ // is clicked and then remove it as soon as the user closes the dialog itself.
+ // Unfortunately there's no way to hook in the 'clicked' event of the GtkFileChooserButton,
+ // thus we add grab on m_dialog->m_widget when it's shown and remove it when it's
+ // hidden simply using its "show" and "hide" events - clean & simple :)
+ g_signal_connect(m_dialog->m_widget, "show", G_CALLBACK(gtk_grab_add), NULL);
+ g_signal_connect(m_dialog->m_widget, "hide", G_CALLBACK(gtk_grab_remove), NULL);
+
+
+ // NOTE: we deliberately ignore the given label as GtkFileChooserButton
+ // use as label the currently selected file
+ m_widget = gtk_file_chooser_button_new_with_dialog( m_dialog->m_widget );
+
+ gtk_widget_show( GTK_WIDGET(m_widget) );
+
+ // GtkFileChooserButton signals
+ g_signal_connect(m_widget, "current-folder-changed",
+ G_CALLBACK(gtk_dirbutton_currentfolderchanged_callback), this);
+
+ m_parent->DoAddChild( this );
+
+ PostCreation(size);
+ SetBestSize(size);
+ }
+ else
+ return wxGenericDirButton::Create(parent, id, label, path, message, wildcard,
+ pos, size, style, validator, name);
+ return true;
+}
+
+wxDirButton::~wxDirButton()
+{
+ // GtkFileChooserButton will automatically destroy the
+ // GtkFileChooserDialog associated with m_dialog.
+ // Thus we have to set its m_widget to NULL to avoid
+ // double destruction on same widget
+ m_dialog->m_widget = NULL;
+}
+
+#endif // wxUSE_DIRPICKERCTRL && defined(__WXGTK26__)
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: src/gtk/fontpicker.cpp
+// Purpose: implementation of wxFontButton
+// Author: Francesco Montorsi
+// Modified By:
+// Created: 15/04/2006
+// Id: $Id$
+// Copyright: (c) Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#include "wx/gtk/private.h"
+#include "wx/fontpicker.h"
+
+#include "wx/fontutil.h" // for wxNativeFontInfo
+#include "wx/gtk/private.h"
+
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
+
+
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+#if wxUSE_FONTPICKERCTRL && defined(__WXGTK24__)
+
+//-----------------------------------------------------------------------------
+// "font-set"
+//-----------------------------------------------------------------------------
+
+extern "C" {
+static void gtk_fontbutton_setfont_callback(GtkFontButton *widget,
+ wxFontButton *p)
+{
+ // update the m_selectedFont member of the wxFontButton
+ wxASSERT(p);
+ p->SetNativeFontInfo(gtk_font_button_get_font_name(widget));
+
+ // fire the colour-changed event
+ wxFontPickerEvent event(p, p->GetId(), p->GetSelectedFont());
+ p->GetEventHandler()->ProcessEvent(event);
+}
+}
+
+//-----------------------------------------------------------------------------
+// wxFontButton
+//-----------------------------------------------------------------------------
+
+IMPLEMENT_DYNAMIC_CLASS(wxFontButton, wxGenericFontButton)
+
+bool wxFontButton::Create( wxWindow *parent, wxWindowID id,
+ const wxFont &initial,
+ const wxPoint &pos, const wxSize &size,
+ long style, const wxValidator& validator,
+ const wxString &name )
+{
+ if (!gtk_check_version(2,4,0))
+ {
+ m_needParent = true;
+
+ if (!PreCreation( parent, pos, size ) ||
+ !wxControl::CreateBase(parent, id, pos, size, style, validator, name))
+ {
+ wxFAIL_MSG( wxT("wxFontButton creation failed") );
+ return false;
+ }
+
+ m_widget = gtk_font_button_new();
+
+ // set initial font
+ m_selectedFont = initial;
+ UpdateFont();
+
+ // honour the fontbutton styles
+ bool showall = (style & wxFNTP_FONTDESC_AS_LABEL) != 0,
+ usefont = (style & wxFNTP_USEFONT_FOR_LABEL) != 0;
+ gtk_font_button_set_show_style(GTK_FONT_BUTTON(m_widget), showall);
+ gtk_font_button_set_show_size(GTK_FONT_BUTTON(m_widget), showall);
+
+ gtk_font_button_set_use_size(GTK_FONT_BUTTON(m_widget), usefont);
+ gtk_font_button_set_use_font(GTK_FONT_BUTTON(m_widget), usefont);
+
+ gtk_widget_show( GTK_WIDGET(m_widget) );
+
+ // GtkFontButton signals
+ g_signal_connect(m_widget, "font-set",
+ G_CALLBACK(gtk_fontbutton_setfont_callback), this);
+
+
+ m_parent->DoAddChild( this );
+
+ PostCreation(size);
+ SetBestSize(size);
+ }
+ else
+ return wxGenericFontButton::Create(parent, id, initial, pos, size,
+ style, validator, name);
+ return true;
+}
+
+wxFontButton::~wxFontButton()
+{
+}
+
+void wxFontButton::UpdateFont()
+{
+ if (!gtk_check_version(2,4,0))
+ {
+ const wxNativeFontInfo *info = m_selectedFont.GetNativeFontInfo();
+ wxASSERT_MSG( info, wxT("The fontbutton's internal font is not valid ?") );
+
+ const wxString& fontname = info->ToString();
+ gtk_font_button_set_font_name(GTK_FONT_BUTTON(m_widget), wxGTK_CONV(fontname));
+ }
+ else
+ wxGenericFontButton::UpdateFont();
+}
+
+#endif // wxUSE_FONTPICKERCTRL
G_CALLBACK (wxgtk_combo_size_request_callback),
this);
}
+ else if (GTK_IS_FILE_CHOOSER_BUTTON(m_widget))
+ {
+ // FIXME: what should be done here ?
+ }
else
{
// This is needed if we want to add our windows into native
# End Source File
# Begin Source File
+SOURCE=.\common\clrpickercmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\cmdline.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\filepickercmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\filesys.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\fontpickercmn.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\framecmn.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\common\pickerbase.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\common\popupcmn.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\generic\clrpickerg.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\generic\combog.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\generic\filepickerg.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\generic\fontpickerg.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\generic\grid.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\xrc\xh_clrpicker.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\xrc\xh_combo.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\xrc\xh_dirpicker.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\xrc\xh_dlg.cpp
# End Source File
# Begin Source File
+SOURCE=.\xrc\xh_filepicker.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\xrc\xh_fontpicker.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\xrc\xh_frame.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\include\wx\clrpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\cmdline.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\include\wx\filepicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\filesys.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\include\wx\fontpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\fontutil.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\include\wx\xrc\xh_clrpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\xrc\xh_combo.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\include\wx\xrc\xh_dirpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\xrc\xh_dlg.h
# End Source File
# Begin Source File
+SOURCE=..\include\wx\xrc\xh_filepicker.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\include\wx\xrc\xh_fontpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\xrc\xh_frame.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\include\wx\generic\clrpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\generic\colrdlgg.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\include\wx\generic\filepicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\generic\fontdlgg.h
# End Source File
# Begin Source File
+SOURCE=..\include\wx\generic\fontpicker.h
+# End Source File
+# Begin Source File
+
SOURCE=..\include\wx\generic\grid.h
# End Source File
# Begin Source File
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: xh_clrpicker.cpp
+// Purpose: XML resource handler for wxColourPickerCtrl
+// Author: Francesco Montorsi
+// Created: 2006-04-17
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#if wxUSE_XRC && wxUSE_COLOURPICKERCTRL
+
+#include "wx/xrc/xh_clrpicker.h"
+#include "wx/clrpicker.h"
+
+IMPLEMENT_DYNAMIC_CLASS(wxColourPickerCtrlXmlHandler, wxXmlResourceHandler)
+
+wxColourPickerCtrlXmlHandler::wxColourPickerCtrlXmlHandler() : wxXmlResourceHandler()
+{
+ XRC_ADD_STYLE(wxCLRP_USE_TEXTCTRL);
+ XRC_ADD_STYLE(wxCLRP_SHOW_LABEL);
+ XRC_ADD_STYLE(wxCLRP_DEFAULT_STYLE);
+ AddWindowStyles();
+}
+
+wxObject *wxColourPickerCtrlXmlHandler::DoCreateResource()
+{
+ XRC_MAKE_INSTANCE(picker, wxColourPickerCtrl)
+
+ picker->Create(m_parentAsWindow,
+ GetID(),
+ GetColour(wxT("colour")),
+ GetPosition(), GetSize(),
+ GetStyle(_T("style"), wxCLRP_DEFAULT_STYLE),
+ wxDefaultValidator,
+ GetName());
+
+ SetupWindow(picker);
+
+ return picker;
+}
+
+bool wxColourPickerCtrlXmlHandler::CanHandle(wxXmlNode *node)
+{
+ return IsOfClass(node, wxT("wxColourPickerCtrl"));
+}
+
+#endif // wxUSE_XRC && wxUSE_COLOURPICKERCTRL
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: xh_clrpicker.cpp
+// Purpose: XML resource handler for wxColourPickerCtrl
+// Author: Francesco Montorsi
+// Created: 2006-04-17
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#if wxUSE_XRC && wxUSE_DIRPICKERCTRL
+
+#include "wx/xrc/xh_dirpicker.h"
+#include "wx/filepicker.h"
+
+IMPLEMENT_DYNAMIC_CLASS(wxDirPickerCtrlXmlHandler, wxXmlResourceHandler)
+
+wxDirPickerCtrlXmlHandler::wxDirPickerCtrlXmlHandler() : wxXmlResourceHandler()
+{
+ XRC_ADD_STYLE(wxDIRP_USE_TEXTCTRL);
+ XRC_ADD_STYLE(wxDIRP_DIR_MUST_EXIST);
+ XRC_ADD_STYLE(wxDIRP_CHANGE_DIR);
+ XRC_ADD_STYLE(wxDIRP_DEFAULT_STYLE);
+ AddWindowStyles();
+}
+
+wxObject *wxDirPickerCtrlXmlHandler::DoCreateResource()
+{
+ XRC_MAKE_INSTANCE(picker, wxDirPickerCtrl)
+
+ picker->Create(m_parentAsWindow,
+ GetID(),
+ GetParamValue(wxT("default-path")),
+ GetParamValue(wxT("message")),
+ GetPosition(), GetSize(),
+ GetStyle(_T("style"), wxDIRP_DEFAULT_STYLE),
+ wxDefaultValidator,
+ GetName());
+
+ SetupWindow(picker);
+
+ return picker;
+}
+
+bool wxDirPickerCtrlXmlHandler::CanHandle(wxXmlNode *node)
+{
+ return IsOfClass(node, wxT("wxDirPickerCtrl"));
+}
+
+#endif // wxUSE_XRC && wxUSE_DIRPICKERCTRL
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: xh_clrpicker.cpp
+// Purpose: XML resource handler for wxColourPickerCtrl
+// Author: Francesco Montorsi
+// Created: 2006-04-17
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#if wxUSE_XRC && wxUSE_FILEPICKERCTRL
+
+#include "wx/xrc/xh_filepicker.h"
+#include "wx/filepicker.h"
+
+IMPLEMENT_DYNAMIC_CLASS(wxFilePickerCtrlXmlHandler, wxXmlResourceHandler)
+
+wxFilePickerCtrlXmlHandler::wxFilePickerCtrlXmlHandler() : wxXmlResourceHandler()
+{
+ XRC_ADD_STYLE(wxFLP_OPEN);
+ XRC_ADD_STYLE(wxFLP_SAVE);
+ XRC_ADD_STYLE(wxFLP_OVERWRITE_PROMPT);
+ XRC_ADD_STYLE(wxFLP_FILE_MUST_EXIST);
+ XRC_ADD_STYLE(wxFLP_CHANGE_DIR);
+ XRC_ADD_STYLE(wxFLP_DEFAULT_STYLE);
+ AddWindowStyles();
+}
+
+wxObject *wxFilePickerCtrlXmlHandler::DoCreateResource()
+{
+ XRC_MAKE_INSTANCE(picker, wxFilePickerCtrl)
+
+ picker->Create(m_parentAsWindow,
+ GetID(),
+ GetParamValue(wxT("default-path")),
+ GetParamValue(wxT("message")),
+ GetParamValue(wxT("wildcard")),
+ GetPosition(), GetSize(),
+ GetStyle(_T("style"), wxFLP_DEFAULT_STYLE),
+ wxDefaultValidator,
+ GetName());
+
+ SetupWindow(picker);
+ return picker;
+}
+
+bool wxFilePickerCtrlXmlHandler::CanHandle(wxXmlNode *node)
+{
+ return IsOfClass(node, wxT("wxFilePickerCtrl"));
+}
+
+#endif // wxUSE_XRC && wxUSE_FILEPICKERCTRL
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: xh_clrpicker.cpp
+// Purpose: XML resource handler for wxColourPickerCtrl
+// Author: Francesco Montorsi
+// Created: 2006-04-17
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Francesco Montorsi
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#if wxUSE_XRC && wxUSE_FONTPICKERCTRL
+
+#include "wx/xrc/xh_fontpicker.h"
+#include "wx/fontpicker.h"
+
+IMPLEMENT_DYNAMIC_CLASS(wxFontPickerCtrlXmlHandler, wxXmlResourceHandler)
+
+wxFontPickerCtrlXmlHandler::wxFontPickerCtrlXmlHandler() : wxXmlResourceHandler()
+{
+ XRC_ADD_STYLE(wxFNTP_USE_TEXTCTRL);
+ XRC_ADD_STYLE(wxFNTP_FONTDESC_AS_LABEL);
+ XRC_ADD_STYLE(wxFNTP_USEFONT_FOR_LABEL);
+ XRC_ADD_STYLE(wxFNTP_DEFAULT_STYLE);
+ AddWindowStyles();
+}
+
+wxObject *wxFontPickerCtrlXmlHandler::DoCreateResource()
+{
+ XRC_MAKE_INSTANCE(picker, wxFontPickerCtrl)
+
+ wxFont f = *wxNORMAL_FONT;
+ if (HasParam(wxT("default-font")))
+ f = GetFont(wxT("default-font"));
+
+ picker->Create(m_parentAsWindow,
+ GetID(),
+ f,
+ GetPosition(), GetSize(),
+ GetStyle(_T("style"), wxFNTP_DEFAULT_STYLE),
+ wxDefaultValidator,
+ GetName());
+
+ SetupWindow(picker);
+
+ return picker;
+}
+
+bool wxFontPickerCtrlXmlHandler::CanHandle(wxXmlNode *node)
+{
+ return IsOfClass(node, wxT("wxFontPickerCtrl"));
+}
+
+#endif // wxUSE_XRC && wxUSE_FONTPICKERCTRL
#if wxUSE_DATEPICKCTRL
AddHandler(new wxDateCtrlXmlHandler);
#endif
+#if wxUSE_COLOURPICKERCTRL
+ AddHandler(new wxColourPickerCtrlXmlHandler);
+#endif
+#if wxUSE_FILEPICKERCTRL
+ AddHandler(new wxFilePickerCtrlXmlHandler);
+#endif
+#if wxUSE_DIRPICKERCTRL
+ AddHandler(new wxDirPickerCtrlXmlHandler);
+#endif
+#if wxUSE_FONTPICKERCTRL
+ AddHandler(new wxFontPickerCtrlXmlHandler);
+#endif
#if wxUSE_MDI
AddHandler(new wxMdiXmlHandler);
#endif