core/vgui/wx/vgui_wx.cxx
Go to the documentation of this file.
00001 // This is core/vgui/wx/vgui_wx.cxx
00002 #include "vgui_wx.h"
00003 //:
00004 // \file
00005 #include <wx/xrc/xmlres.h>
00006 
00007 // Includes for XML Resource Handlers
00008 #include "vgui_wx_adaptorXmlHandler.h"
00009 #include "wxSliderPanelXmlHandler.h"
00010 #include "wxVideoControlXmlHandler.h"
00011 
00012 
00013 //: Initialize all vgui_wx XML Resource Handlers
00014 // Call this right after you call wxXmlResource::Get()->InitAllHandlers();
00015 void vgui_wx::InitVguiHandlers()
00016 {
00017   wxXmlResource::Get()->AddHandler(new vgui_wx_adaptorXmlHandler);
00018   wxXmlResource::Get()->AddHandler(new wxSliderPanelXmlHandler);
00019   wxXmlResource::Get()->AddHandler(new wxVideoControlXmlHandler);
00020   // Add new resource handlers here
00021 }