xrcdll_xh_listc.o \
xrcdll_xh_menu.o \
xrcdll_xh_notbk.o \
+ xrcdll_xh_odcombo.o \
xrcdll_xh_panel.o \
xrcdll_xh_radbt.o \
xrcdll_xh_radbx.o \
xrclib_xh_listc.o \
xrclib_xh_menu.o \
xrclib_xh_notbk.o \
+ xrclib_xh_odcombo.o \
xrclib_xh_panel.o \
xrclib_xh_radbt.o \
xrclib_xh_radbx.o \
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/generic/clrpickerg.h \
+ wx/generic/fontpickerg.h \
+ wx/generic/filepickerg.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/generic/clrpickerg.h \
+ wx/generic/fontpickerg.h \
+ wx/generic/filepickerg.h \
wx/msw/accel.h \
wx/msw/app.h \
wx/msw/bitmap.h \
wx/xrc/xh_listc.h \
wx/xrc/xh_menu.h \
wx/xrc/xh_notbk.h \
+ wx/xrc/xh_odcombo.h \
wx/xrc/xh_panel.h \
wx/xrc/xh_radbt.h \
wx/xrc/xh_radbx.h \
monodll_xh_listc.o \
monodll_xh_menu.o \
monodll_xh_notbk.o \
+ monodll_xh_odcombo.o \
monodll_xh_panel.o \
monodll_xh_radbt.o \
monodll_xh_radbx.o \
monolib_xh_listc.o \
monolib_xh_menu.o \
monolib_xh_notbk.o \
+ monolib_xh_odcombo.o \
monolib_xh_panel.o \
monolib_xh_radbt.o \
monolib_xh_radbx.o \
monodll_xh_notbk.o: $(srcdir)/src/xrc/xh_notbk.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_notbk.cpp
+monodll_xh_odcombo.o: $(srcdir)/src/xrc/xh_odcombo.cpp $(MONODLL_ODEP)
+ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_odcombo.cpp
+
monodll_xh_panel.o: $(srcdir)/src/xrc/xh_panel.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_panel.cpp
monolib_xh_notbk.o: $(srcdir)/src/xrc/xh_notbk.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_notbk.cpp
+monolib_xh_odcombo.o: $(srcdir)/src/xrc/xh_odcombo.cpp $(MONOLIB_ODEP)
+ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_odcombo.cpp
+
monolib_xh_panel.o: $(srcdir)/src/xrc/xh_panel.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_panel.cpp
xrcdll_xh_notbk.o: $(srcdir)/src/xrc/xh_notbk.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_notbk.cpp
+xrcdll_xh_odcombo.o: $(srcdir)/src/xrc/xh_odcombo.cpp $(XRCDLL_ODEP)
+ $(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_odcombo.cpp
+
xrcdll_xh_panel.o: $(srcdir)/src/xrc/xh_panel.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_panel.cpp
xrclib_xh_notbk.o: $(srcdir)/src/xrc/xh_notbk.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_notbk.cpp
+xrclib_xh_odcombo.o: $(srcdir)/src/xrc/xh_odcombo.cpp $(XRCLIB_ODEP)
+ $(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_odcombo.cpp
+
xrclib_xh_panel.o: $(srcdir)/src/xrc/xh_panel.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_panel.cpp
wx/pickerbase.h
wx/popupwin.h
wx/print.h
- wx/printdlg.h
+ wx/printdlg.h
wx/prntbase.h
wx/progdlg.h
wx/ptr_scpd.h
src/xrc/xh_listc.cpp
src/xrc/xh_menu.cpp
src/xrc/xh_notbk.cpp
+ src/xrc/xh_odcombo.cpp
src/xrc/xh_panel.cpp
src/xrc/xh_radbt.cpp
src/xrc/xh_radbx.cpp
wx/xrc/xh_listc.h
wx/xrc/xh_menu.h
wx/xrc/xh_notbk.h
+ wx/xrc/xh_odcombo.h
wx/xrc/xh_panel.h
wx/xrc/xh_radbt.h
wx/xrc/xh_radbx.h
$(OBJS)\xrcdll_xh_listc.obj \
$(OBJS)\xrcdll_xh_menu.obj \
$(OBJS)\xrcdll_xh_notbk.obj \
+ $(OBJS)\xrcdll_xh_odcombo.obj \
$(OBJS)\xrcdll_xh_panel.obj \
$(OBJS)\xrcdll_xh_radbt.obj \
$(OBJS)\xrcdll_xh_radbx.obj \
$(OBJS)\xrclib_xh_listc.obj \
$(OBJS)\xrclib_xh_menu.obj \
$(OBJS)\xrclib_xh_notbk.obj \
+ $(OBJS)\xrclib_xh_odcombo.obj \
$(OBJS)\xrclib_xh_panel.obj \
$(OBJS)\xrclib_xh_radbt.obj \
$(OBJS)\xrclib_xh_radbx.obj \
$(OBJS)\monodll_xh_listc.obj \
$(OBJS)\monodll_xh_menu.obj \
$(OBJS)\monodll_xh_notbk.obj \
+ $(OBJS)\monodll_xh_odcombo.obj \
$(OBJS)\monodll_xh_panel.obj \
$(OBJS)\monodll_xh_radbt.obj \
$(OBJS)\monodll_xh_radbx.obj \
$(OBJS)\monolib_xh_listc.obj \
$(OBJS)\monolib_xh_menu.obj \
$(OBJS)\monolib_xh_notbk.obj \
+ $(OBJS)\monolib_xh_odcombo.obj \
$(OBJS)\monolib_xh_panel.obj \
$(OBJS)\monolib_xh_radbt.obj \
$(OBJS)\monolib_xh_radbx.obj \
$(OBJS)\monodll_xh_notbk.obj: ..\..\src\xrc\xh_notbk.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_xh_odcombo.obj: ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_xh_panel.obj: ..\..\src\xrc\xh_panel.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monolib_xh_notbk.obj: ..\..\src\xrc\xh_notbk.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_xh_odcombo.obj: ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_xh_panel.obj: ..\..\src\xrc\xh_panel.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_notbk.obj: ..\..\src\xrc\xh_notbk.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
+$(OBJS)\xrcdll_xh_odcombo.obj: ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
+
$(OBJS)\xrcdll_xh_panel.obj: ..\..\src\xrc\xh_panel.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrclib_xh_notbk.obj: ..\..\src\xrc\xh_notbk.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
+$(OBJS)\xrclib_xh_odcombo.obj: ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
+
$(OBJS)\xrclib_xh_panel.obj: ..\..\src\xrc\xh_panel.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_listc.o \
$(OBJS)\xrcdll_xh_menu.o \
$(OBJS)\xrcdll_xh_notbk.o \
+ $(OBJS)\xrcdll_xh_odcombo.o \
$(OBJS)\xrcdll_xh_panel.o \
$(OBJS)\xrcdll_xh_radbt.o \
$(OBJS)\xrcdll_xh_radbx.o \
$(OBJS)\xrclib_xh_listc.o \
$(OBJS)\xrclib_xh_menu.o \
$(OBJS)\xrclib_xh_notbk.o \
+ $(OBJS)\xrclib_xh_odcombo.o \
$(OBJS)\xrclib_xh_panel.o \
$(OBJS)\xrclib_xh_radbt.o \
$(OBJS)\xrclib_xh_radbx.o \
$(OBJS)\monodll_xh_listc.o \
$(OBJS)\monodll_xh_menu.o \
$(OBJS)\monodll_xh_notbk.o \
+ $(OBJS)\monodll_xh_odcombo.o \
$(OBJS)\monodll_xh_panel.o \
$(OBJS)\monodll_xh_radbt.o \
$(OBJS)\monodll_xh_radbx.o \
$(OBJS)\monolib_xh_listc.o \
$(OBJS)\monolib_xh_menu.o \
$(OBJS)\monolib_xh_notbk.o \
+ $(OBJS)\monolib_xh_odcombo.o \
$(OBJS)\monolib_xh_panel.o \
$(OBJS)\monolib_xh_radbt.o \
$(OBJS)\monolib_xh_radbx.o \
$(OBJS)\monodll_xh_notbk.o: ../../src/xrc/xh_notbk.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monodll_xh_odcombo.o: ../../src/xrc/xh_odcombo.cpp
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monodll_xh_panel.o: ../../src/xrc/xh_panel.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_xh_notbk.o: ../../src/xrc/xh_notbk.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\monolib_xh_odcombo.o: ../../src/xrc/xh_odcombo.cpp
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\monolib_xh_panel.o: ../../src/xrc/xh_panel.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrcdll_xh_notbk.o: ../../src/xrc/xh_notbk.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\xrcdll_xh_odcombo.o: ../../src/xrc/xh_odcombo.cpp
+ $(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\xrcdll_xh_panel.o: ../../src/xrc/xh_panel.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrclib_xh_notbk.o: ../../src/xrc/xh_notbk.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
+$(OBJS)\xrclib_xh_odcombo.o: ../../src/xrc/xh_odcombo.cpp
+ $(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
+
$(OBJS)\xrclib_xh_panel.o: ../../src/xrc/xh_panel.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrcdll_xh_listc.obj \
$(OBJS)\xrcdll_xh_menu.obj \
$(OBJS)\xrcdll_xh_notbk.obj \
+ $(OBJS)\xrcdll_xh_odcombo.obj \
$(OBJS)\xrcdll_xh_panel.obj \
$(OBJS)\xrcdll_xh_radbt.obj \
$(OBJS)\xrcdll_xh_radbx.obj \
$(OBJS)\xrclib_xh_listc.obj \
$(OBJS)\xrclib_xh_menu.obj \
$(OBJS)\xrclib_xh_notbk.obj \
+ $(OBJS)\xrclib_xh_odcombo.obj \
$(OBJS)\xrclib_xh_panel.obj \
$(OBJS)\xrclib_xh_radbt.obj \
$(OBJS)\xrclib_xh_radbx.obj \
$(OBJS)\monodll_xh_listc.obj \
$(OBJS)\monodll_xh_menu.obj \
$(OBJS)\monodll_xh_notbk.obj \
+ $(OBJS)\monodll_xh_odcombo.obj \
$(OBJS)\monodll_xh_panel.obj \
$(OBJS)\monodll_xh_radbt.obj \
$(OBJS)\monodll_xh_radbx.obj \
$(OBJS)\monolib_xh_listc.obj \
$(OBJS)\monolib_xh_menu.obj \
$(OBJS)\monolib_xh_notbk.obj \
+ $(OBJS)\monolib_xh_odcombo.obj \
$(OBJS)\monolib_xh_panel.obj \
$(OBJS)\monolib_xh_radbt.obj \
$(OBJS)\monolib_xh_radbx.obj \
$(OBJS)\monodll_xh_notbk.obj: ..\..\src\xrc\xh_notbk.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+$(OBJS)\monodll_xh_odcombo.obj: ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
+
$(OBJS)\monodll_xh_panel.obj: ..\..\src\xrc\xh_panel.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monolib_xh_notbk.obj: ..\..\src\xrc\xh_notbk.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+$(OBJS)\monolib_xh_odcombo.obj: ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
+
$(OBJS)\monolib_xh_panel.obj: ..\..\src\xrc\xh_panel.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_notbk.obj: ..\..\src\xrc\xh_notbk.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
+$(OBJS)\xrcdll_xh_odcombo.obj: ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
+
$(OBJS)\xrcdll_xh_panel.obj: ..\..\src\xrc\xh_panel.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrclib_xh_notbk.obj: ..\..\src\xrc\xh_notbk.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
+$(OBJS)\xrclib_xh_odcombo.obj: ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
+
$(OBJS)\xrclib_xh_panel.obj: ..\..\src\xrc\xh_panel.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\monodll_xh_listc.obj &
$(OBJS)\monodll_xh_menu.obj &
$(OBJS)\monodll_xh_notbk.obj &
+ $(OBJS)\monodll_xh_odcombo.obj &
$(OBJS)\monodll_xh_panel.obj &
$(OBJS)\monodll_xh_radbt.obj &
$(OBJS)\monodll_xh_radbx.obj &
$(OBJS)\monolib_xh_listc.obj &
$(OBJS)\monolib_xh_menu.obj &
$(OBJS)\monolib_xh_notbk.obj &
+ $(OBJS)\monolib_xh_odcombo.obj &
$(OBJS)\monolib_xh_panel.obj &
$(OBJS)\monolib_xh_radbt.obj &
$(OBJS)\monolib_xh_radbx.obj &
$(OBJS)\xrcdll_xh_listc.obj &
$(OBJS)\xrcdll_xh_menu.obj &
$(OBJS)\xrcdll_xh_notbk.obj &
+ $(OBJS)\xrcdll_xh_odcombo.obj &
$(OBJS)\xrcdll_xh_panel.obj &
$(OBJS)\xrcdll_xh_radbt.obj &
$(OBJS)\xrcdll_xh_radbx.obj &
$(OBJS)\xrclib_xh_listc.obj &
$(OBJS)\xrclib_xh_menu.obj &
$(OBJS)\xrclib_xh_notbk.obj &
+ $(OBJS)\xrclib_xh_odcombo.obj &
$(OBJS)\xrclib_xh_panel.obj &
$(OBJS)\xrclib_xh_radbt.obj &
$(OBJS)\xrclib_xh_radbx.obj &
$(OBJS)\monodll_xh_notbk.obj : .AUTODEPEND ..\..\src\xrc\xh_notbk.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+$(OBJS)\monodll_xh_odcombo.obj : .AUTODEPEND ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
+
$(OBJS)\monodll_xh_panel.obj : .AUTODEPEND ..\..\src\xrc\xh_panel.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monolib_xh_notbk.obj : .AUTODEPEND ..\..\src\xrc\xh_notbk.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+$(OBJS)\monolib_xh_odcombo.obj : .AUTODEPEND ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
+
$(OBJS)\monolib_xh_panel.obj : .AUTODEPEND ..\..\src\xrc\xh_panel.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\xrcdll_xh_notbk.obj : .AUTODEPEND ..\..\src\xrc\xh_notbk.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
+$(OBJS)\xrcdll_xh_odcombo.obj : .AUTODEPEND ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
+
$(OBJS)\xrcdll_xh_panel.obj : .AUTODEPEND ..\..\src\xrc\xh_panel.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
$(OBJS)\xrclib_xh_notbk.obj : .AUTODEPEND ..\..\src\xrc\xh_notbk.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
+$(OBJS)\xrclib_xh_odcombo.obj : .AUTODEPEND ..\..\src\xrc\xh_odcombo.cpp
+ $(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
+
$(OBJS)\xrclib_xh_panel.obj : .AUTODEPEND ..\..\src\xrc\xh_panel.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
# End Source File
# Begin Source File
-SOURCE=..\..\include\wx\generic\clrpicker.h
-# End Source File
-# Begin Source File
-
SOURCE=..\..\include\wx\generic\clrpickerg.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\filepickerg.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
-SOURCE=..\..\include\wx\generic\fontpicker.h
-# End Source File
-# Begin Source File
-
SOURCE=..\..\include\wx\generic\fontpickerg.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\xrc\xh_odcombo.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\xrc\xh_panel.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\include\wx\xrc\xh_odcombo.h
+# End Source File
+# Begin Source File
+
SOURCE=..\..\include\wx\xrc\xh_panel.h
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\..\src\xrc\xh_odcombo.cpp
+# End Source File
+# Begin Source File
+
SOURCE=..\..\src\xrc\xh_panel.cpp
# End Source File
# Begin Source File
#include "wx/xrc/xh_sizer.h"
#include "wx/xrc/xh_stbmp.h"
#include "wx/xrc/xh_notbk.h"
+#include "wx/xrc/xh_odcombo.h"
#include "wx/xrc/xh_listbk.h"
#include "wx/xrc/xh_choicbk.h"
#include "wx/xrc/xh_treebk.h"
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: wx/xrc/xh_odcombo.h
+// Purpose: XML resource handler for wxOwnerDrawnComboBox
+// Author: Alex Bligh - based on wx/xrc/xh_combo.h
+// Created: 2006/06/19
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Alex Bligh
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_XH_ODCOMBO_H_
+#define _WX_XH_ODCOMBO_H_
+
+#include "wx/xrc/xmlres.h"
+
+#if wxUSE_ODCOMBOBOX
+
+class WXDLLIMPEXP_XRC wxOwnerDrawnComboBoxXmlHandler : public wxXmlResourceHandler
+{
+DECLARE_DYNAMIC_CLASS(wxOwnerDrawnComboBoxXmlHandler)
+public:
+ wxOwnerDrawnComboBoxXmlHandler();
+ virtual wxObject *DoCreateResource();
+ virtual bool CanHandle(wxXmlNode *node);
+private:
+ bool m_insideBox;
+ wxArrayString strList;
+};
+
+#endif
+
+#endif // _WX_XH_ODCOMBO_H_
<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- $Id$ -->
+
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1">
<object class="wxDialog" name="controls_dialog">
<item>in the toolbar</item>
</content>
</object>
+ <object class="wxOwnerDrawnComboBox">
+ <content>
+ <item>Owner Drawn</item>
+ <item>combobox</item>
+ <item>in the toolbar</item>
+ </content>
+ </object>
</object>
</object>
<object class="sizeritem">
<item>in the toolbar</item>
</content>
</object>
+ <object class="wxOwnerDrawnComboBox">
+ <content>
+ <item>Owner Drawn</item>
+ <item>combobox</item>
+ <item>in the toolbar</item>
+ </content>
+ </object>
</object>
</object>
</object>
</object>
</object>
-
+
<object class="notebookpage">
<label>wxBitmapButton</label>
<object class="wxPanel" name="bitmapbutton">
I dream things that never were, and say why not"</i>
<p><pre>Fixed width for code snippets.</pre>
<p>Horizontal rules to organize sections: <hr>
- <p>A wxImage is worth a thousand words and can be also used.
+ <p>A wxImage is worth a thousand words and can be also used.
</htmlcode>
</object>
</object>
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: src/xrc/xh_odcombo.cpp
+// Purpose: XRC resource for wxRadioBox
+// Author: Alex Bligh - Based on src/xrc/xh_combo.cpp
+// Created: 2006/06/19
+// RCS-ID: $Id$
+// Copyright: (c) 2006 Alex Bligh
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#if wxUSE_XRC && wxUSE_ODCOMBOBOX
+
+#include "wx/xrc/xh_odcombo.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/intl.h"
+#endif
+
+#include "wx/odcombo.h"
+
+IMPLEMENT_DYNAMIC_CLASS(wxOwnerDrawnComboBoxXmlHandler, wxXmlResourceHandler)
+
+wxOwnerDrawnComboBoxXmlHandler::wxOwnerDrawnComboBoxXmlHandler()
+ :wxXmlResourceHandler()
+ ,m_insideBox(false)
+{
+ XRC_ADD_STYLE(wxCB_SIMPLE);
+ XRC_ADD_STYLE(wxCB_SORT);
+ XRC_ADD_STYLE(wxCB_READONLY);
+ XRC_ADD_STYLE(wxCB_DROPDOWN);
+ XRC_ADD_STYLE(wxODCB_STD_CONTROL_PAINT);
+ XRC_ADD_STYLE(wxODCB_DCLICK_CYCLES);
+ AddWindowStyles();
+}
+
+wxObject *wxOwnerDrawnComboBoxXmlHandler::DoCreateResource()
+{
+ if( m_class == wxT("wxOwnerDrawnComboBox"))
+ {
+ // find the selection
+ long selection = GetLong( wxT("selection"), -1 );
+
+ // need to build the list of strings from children
+ m_insideBox = true;
+ CreateChildrenPrivately(NULL, GetParamNode(wxT("content")));
+ wxString *strings = (wxString *) NULL;
+ if (strList.GetCount() > 0)
+ {
+ strings = new wxString[strList.GetCount()];
+ int count = strList.GetCount();
+ for (int i = 0; i < count; i++)
+ strings[i]=strList[i];
+ }
+
+ XRC_MAKE_INSTANCE(control, wxOwnerDrawnComboBox)
+
+ control->Create(m_parentAsWindow,
+ GetID(),
+ GetText(wxT("value")),
+ GetPosition(), GetSize(),
+ strList.GetCount(),
+ strings,
+ GetStyle(),
+ wxDefaultValidator,
+ GetName());
+
+ control->SetPopupControl(NULL);
+
+ wxSize ButtonSize=GetSize(wxT("buttonsize"));
+
+ if (ButtonSize != wxDefaultSize)
+ control->SetButtonPosition(ButtonSize.GetWidth(), ButtonSize.GetHeight());
+
+ if (selection != -1)
+ control->SetSelection(selection);
+
+ SetupWindow(control);
+
+ if (strings != NULL)
+ delete[] strings;
+ strList.Clear(); // dump the strings
+
+ return control;
+ }
+ else
+ {
+ // on the inside now.
+ // handle <item>Label</item>
+
+ // add to the list
+ wxString str = GetNodeContent(m_node);
+ if (m_resource->GetFlags() & wxXRC_USE_LOCALE)
+ str = wxGetTranslation(str);
+ strList.Add(str);
+
+ return NULL;
+ }
+}
+
+bool wxOwnerDrawnComboBoxXmlHandler::CanHandle(wxXmlNode *node)
+{
+// Avoid GCC bug - this fails on certain GCC 3.x builds for an unknown reason
+// return (IsOfClass(node, wxT("wxOwnerDrawnComboBox")) ||
+// (m_insideBox && node->GetName() == wxT("item")));
+
+ bool fOurClass = node->GetPropVal(wxT("class"), wxEmptyString) == wxT("wxOwnerDrawnComboBox");
+ return (fOurClass ||
+ (m_insideBox && node->GetName() == wxT("item")));
+
+}
+
+#endif // wxUSE_XRC && wxUSE_ODCOMBOBOX
#if wxUSE_COMBOBOX
AddHandler(new wxComboBoxXmlHandler);
#endif
+#if wxUSE_ODCOMBOBOX
+ AddHandler(new wxOwnerDrawnComboBoxXmlHandler);
+#endif
#if wxUSE_NOTEBOOK
AddHandler(new wxNotebookXmlHandler);
#endif