]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
fixed serious bug in wxFont::operator== (ignored weight)
[wxWidgets.git] / src / common / event.cpp
index 3856f917365f60e3175ba15307ddc53228c75449..e9a76b3fd2355631b84d26ded1a09a3708ca9f2d 100644 (file)
@@ -52,9 +52,9 @@
 
 IMPLEMENT_DYNAMIC_CLASS(wxEvtHandler, wxObject)
 IMPLEMENT_ABSTRACT_CLASS(wxEvent, wxObject)
-IMPLEMENT_DYNAMIC_CLASS(wxIdleEvent, wxEvent)
 
 #if wxUSE_GUI
+    IMPLEMENT_DYNAMIC_CLASS(wxIdleEvent, wxEvent)
     IMPLEMENT_DYNAMIC_CLASS(wxCommandEvent, wxEvent)
     IMPLEMENT_DYNAMIC_CLASS(wxNotifyEvent, wxCommandEvent)
     IMPLEMENT_DYNAMIC_CLASS(wxScrollEvent, wxCommandEvent)