]>
Commit | Line | Data |
---|---|---|
123a7fdd GL |
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 | ||
9fdd8384 GL |
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); | |
8d43638d GL |
39 | REGISTER_CLASS(wxPanel); |
40 | REGISTER_CLASS(wxDialog); | |
9fdd8384 GL |
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); | |
8d43638d | 51 | REGISTER_CLASS(wxImageList); |
9fdd8384 GL |
52 | REGISTER_CLASS(wxPenList); |
53 | REGISTER_CLASS(wxBrushList); | |
54 | REGISTER_CLASS(wxFontList); | |
55 | REGISTER_CLASS(wxColourDatabase); | |
56 | REGISTER_CLASS(wxBitmapList); | |
57 | ||
58 | REGISTER_CLASS(wxControl); | |
59 | REGISTER_CLASS(wxSlider); | |
60 | REGISTER_CLASS(wxCheckBox); | |
61 | REGISTER_CLASS(wxChoice); | |
62 | REGISTER_CLASS(wxGauge); | |
63 | REGISTER_CLASS(wxListBox); | |
64 | REGISTER_CLASS(wxButton); | |
65 | REGISTER_CLASS(wxStaticText); | |
66 | REGISTER_CLASS(wxRadioBox); | |
67 | REGISTER_CLASS(wxComboBox); | |
68 | REGISTER_CLASS(wxNotebook); | |
69 | ||
70 | return lib; | |
71 | } | |
72 | ||
73 | WXDLL_EXIT_FUNCTION(lib) | |
74 | { | |
75 | delete lib; | |
76 | } |