#include <wx/sysopt.h>
+#include "vtkOutputWindow.h"
+
+class vtkOutputWindowbbGEditor : public vtkOutputWindow
+{
+public:
+ vtkOutputWindowbbGEditor() {}
+ static vtkOutputWindowbbGEditor* New() { return new vtkOutputWindowbbGEditor;}
+ virtual void DisplayDebugText (const char *) {}
+ virtual void DisplayText (const char *) {}
+ virtual void DisplayErrorText (const char *) {}
+ virtual void DisplayWarningText (const char *) {}
+ virtual void DisplayGenericWarningText (const char *) {}
+protected:
+};
+
+
+
+
static const wxCmdLineEntryDesc cmdLineDesc[] =
{
{ wxCMD_LINE_PARAM, NULL, NULL, _T("file"), wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL },
// main frame
bool wxBBEditorApp::OnInit( )
{
+
+ vtkOutputWindowbbGEditor *vtkoutputwindowbbgeditor= vtkOutputWindowbbGEditor::New();
+ vtkOutputWindow::SetInstance( vtkoutputwindowbbgeditor );
+ vtkoutputwindowbbgeditor->Delete();
+
+
#ifdef MACOSX
/* assume this is OSX */
wxSystemOptions::SetOption("mac.listctrl.always_use_generic", 1);