]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datavgen.cpp
Enable graphics context by default
[wxWidgets.git] / src / generic / datavgen.cpp
index f9e574216ddf825f42cb2c2b3ee64046a47e44cf..8ab4f85c53765b875efcbed747cdf53ff60095a7 100644 (file)
@@ -1364,7 +1364,7 @@ bool wxDataViewHeaderWindowMSW::Create( wxDataViewCtrl *parent, wxWindowID id,
     }
 
     m_imageList = new wxImageList( 16, 16 );
-    Header_SetImageList( (HWND) m_hWnd, m_imageList->GetHIMAGELIST() );
+    (void)Header_SetImageList((HWND) m_hWnd, m_imageList->GetHIMAGELIST());
 
     // we need to subclass the m_hWnd to force wxWindow::HandleNotify
     // to call wxDataViewHeaderWindow::MSWOnNotify