]> git.saurik.com Git - wxWidgets.git/blob - utils/serialize/sergdi.h
don't crash when invalid colour is set as fg/bg colour
[wxWidgets.git] / utils / serialize / sergdi.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: sergdi.h
3 // Purpose: Serialization: GDI classes
4 // Author: Guilhem Lavaux
5 // Modified by:
6 // Created: July 1998
7 // RCS-ID: $Id$
8 // Copyright: (c) 1998 Guilhem Lavaux
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __SERGDI_H__
13 #define __SERGDI_H__
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include <wx/serbase.h>
20 #include "sercore.h"
21
22 DECLARE_SERIAL_CLASS(wxBitmap, wxObject)
23 DECLARE_SERIAL_CLASS(wxGDIObject, wxObject)
24 DECLARE_SERIAL_CLASS(wxRegion, wxGDIObject)
25 DECLARE_SERIAL_CLASS(wxColour, wxObject)
26 DECLARE_SERIAL_CLASS(wxFont, wxGDIObject)
27 DECLARE_SERIAL_CLASS(wxPen, wxGDIObject)
28 DECLARE_SERIAL_CLASS(wxBrush, wxGDIObject)
29 DECLARE_SERIAL_CLASS(wxImageList, wxObject)
30
31 DECLARE_ALIAS_SERIAL_CLASS(wxPenList, wxList)
32 DECLARE_ALIAS_SERIAL_CLASS(wxBrushList, wxList)
33 DECLARE_ALIAS_SERIAL_CLASS(wxFontList, wxList)
34 DECLARE_ALIAS_SERIAL_CLASS(wxColourDatabase, wxList)
35 DECLARE_ALIAS_SERIAL_CLASS(wxBitmapList, wxList)
36
37 #endif