28 #ifndef itkWin32OutputWindow_h
29 #define itkWin32OutputWindow_h
30 #if defined(_MSC_VER) || defined(__MINGW32__) // if on Windows
53 class ITKCommon_EXPORT Win32OutputWindow :
public OutputWindow
56 ITK_DISALLOW_COPY_AND_MOVE(Win32OutputWindow);
59 using Self = Win32OutputWindow;
61 using Pointer = SmartPointer<Self>;
68 itkOverrideGetNameOfClassMacro(Win32OutputWindow);
73 DisplayText(
const char *)
override;
75 static LRESULT APIENTRY
76 WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
79 Win32OutputWindow() =
default;
80 ~Win32OutputWindow()
override;
83 PromptText(
const char * text);
86 AddText(
const char *);
92 static HWND m_OutputWindow;
97 #endif // itkWin32OutputWindow_h