]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/serialize/sermain.cpp
fixed bug in mouse handling
[wxWidgets.git] / utils / serialize / sermain.cpp
index 4ef76703dd253b9314afeb3ce79a9c86dadb6a06..2983a8c495e0757c8a61ceeee48978aa4d663e63 100644 (file)
 #include "serwnd.h"
 #include "sergdi.h"
 #include "serctrl.h"
+#include "serext.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxObject_Serialize, wxObject)
 
-#define REGISTER_CLASS(classname) \
-lib->RegisterClass(CLASSINFO(classname##_Serialize), #classname "_Serialize")
-
 WXDLL_ENTRY_FUNCTION()
-{
-  wxClassLibrary *lib = new wxClassLibrary;
-
-  REGISTER_CLASS(wxList);
-
-  REGISTER_CLASS(wxWindow);
-  REGISTER_CLASS(wxIndividualLayoutConstraint);
-  REGISTER_CLASS(wxLayoutConstraints);
-  REGISTER_CLASS(wxFrame);
-  REGISTER_CLASS(wxPanel);
-  REGISTER_CLASS(wxDialog);
-  REGISTER_CLASS(wxMenu);
-  REGISTER_CLASS(wxMenuItem);
-  REGISTER_CLASS(wxMenuBar);
-
-  REGISTER_CLASS(wxGDIObject);
-  REGISTER_CLASS(wxBitmap);
-  REGISTER_CLASS(wxColour);
-  REGISTER_CLASS(wxFont);
-  REGISTER_CLASS(wxPen);
-  REGISTER_CLASS(wxBrush);
-  REGISTER_CLASS(wxImageList);
-  REGISTER_CLASS(wxPenList);
-  REGISTER_CLASS(wxBrushList);
-  REGISTER_CLASS(wxFontList);
-  REGISTER_CLASS(wxColourDatabase);
-  REGISTER_CLASS(wxBitmapList);
-
-  REGISTER_CLASS(wxControl);
-  REGISTER_CLASS(wxSlider);
-  REGISTER_CLASS(wxCheckBox);
-  REGISTER_CLASS(wxChoice);
-  REGISTER_CLASS(wxGauge);
-  REGISTER_CLASS(wxListBox);
-  REGISTER_CLASS(wxButton);
-  REGISTER_CLASS(wxStaticText);
-  REGISTER_CLASS(wxRadioBox);
-  REGISTER_CLASS(wxComboBox);
-  REGISTER_CLASS(wxNotebook);
-
-  return lib;
-}
-
-WXDLL_EXIT_FUNCTION(lib)
-{
-  delete lib;
-}