]> git.saurik.com Git - wxWidgets.git/blob - utils/serialize/sermain.cpp
Added GLCanvas library (Win only at present).
[wxWidgets.git] / utils / serialize / sermain.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: sermain.cpp
3 // Purpose: Serialization: main
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 #ifdef __GNUG__
13 #pragma implementation "serbase.h"
14 #endif
15
16 #include <wx/dynlib.h>
17 #include <wx/serbase.h>
18
19 #include "sercore.h"
20 #include "serwnd.h"
21 #include "sergdi.h"
22 #include "serctrl.h"
23
24 IMPLEMENT_DYNAMIC_CLASS(wxObject_Serialize, wxObject)
25
26 #define REGISTER_CLASS(classname) \
27 lib->RegisterClass(CLASSINFO(classname##_Serialize), #classname "_Serialize")
28
29 WXDLL_ENTRY_FUNCTION()
30 {
31 wxClassLibrary *lib = new wxClassLibrary;
32
33 REGISTER_CLASS(wxList);
34
35 REGISTER_CLASS(wxWindow);
36 REGISTER_CLASS(wxIndividualLayoutConstraint);
37 REGISTER_CLASS(wxLayoutConstraints);
38 REGISTER_CLASS(wxFrame);
39 // REGISTER_CLASS(wxPanel);
40 // REGISTER_CLASS(wxDialog);
41 REGISTER_CLASS(wxMenu);
42 REGISTER_CLASS(wxMenuItem);
43 REGISTER_CLASS(wxMenuBar);
44
45 REGISTER_CLASS(wxGDIObject);
46 REGISTER_CLASS(wxBitmap);
47 REGISTER_CLASS(wxColour);
48 REGISTER_CLASS(wxFont);
49 REGISTER_CLASS(wxPen);
50 REGISTER_CLASS(wxBrush);
51 REGISTER_CLASS(wxPenList);
52 REGISTER_CLASS(wxBrushList);
53 REGISTER_CLASS(wxFontList);
54 REGISTER_CLASS(wxColourDatabase);
55 REGISTER_CLASS(wxBitmapList);
56
57 REGISTER_CLASS(wxControl);
58 REGISTER_CLASS(wxSlider);
59 REGISTER_CLASS(wxCheckBox);
60 REGISTER_CLASS(wxChoice);
61 REGISTER_CLASS(wxGauge);
62 REGISTER_CLASS(wxListBox);
63 REGISTER_CLASS(wxButton);
64 REGISTER_CLASS(wxStaticText);
65 REGISTER_CLASS(wxRadioBox);
66 REGISTER_CLASS(wxComboBox);
67 REGISTER_CLASS(wxNotebook);
68
69 return lib;
70 }
71
72 WXDLL_EXIT_FUNCTION(lib)
73 {
74 delete lib;
75 }