]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/glcanvas.cpp
Add wxNumberFormatter class helping to deal with thousands separators.
[wxWidgets.git] / src / msw / glcanvas.cpp
index e446fe096bddb60cb20efb0a57c19534eca9be3c..0dff02b534e2d40386808262b6d95722eb67074d 100644 (file)
@@ -146,8 +146,10 @@ bool wxGLContext::SetCurrent(const wxGLCanvas& win) const
 IMPLEMENT_CLASS(wxGLCanvas, wxWindow)
 
 BEGIN_EVENT_TABLE(wxGLCanvas, wxWindow)
+#if wxUSE_PALETTE
     EVT_PALETTE_CHANGED(wxGLCanvas::OnPaletteChanged)
     EVT_QUERY_NEW_PALETTE(wxGLCanvas::OnQueryNewPalette)
+#endif
 END_EVENT_TABLE()
 
 // ----------------------------------------------------------------------------