[wxVTK] Little bug when using not wxGTK
Brought to you by:
malat
From: <rei...@gm...> - 2006-10-04 11:28:13
|
Hello Mathieu, In the 1.0 release of wxVTK seems to be a little bug. In the following method I had to add the preprocessor directives for MSW. The reason is that for MSW the wxVTKRenderWindowInteractor inherits from wxWindow instead of wxGLCanvas... Regards, Reinhold void wxVTKRenderWindowInteractor::Enable() { // if already enabled then done if (Enabled) return; // that's it Enabled = 1; #ifdef __WXGTK__ this->SetCurrent(); #endif Modified(); } |