diff --git a/modules/gui/src/display/windows/vpDisplayWin32.cpp b/modules/gui/src/display/windows/vpDisplayWin32.cpp index 410db2674f..49d2599b45 100644 --- a/modules/gui/src/display/windows/vpDisplayWin32.cpp +++ b/modules/gui/src/display/windows/vpDisplayWin32.cpp @@ -57,10 +57,24 @@ void vpCreateWindow(threadParam *param) } /*! - Constructor. + Constructors. */ vpDisplayWin32::vpDisplayWin32(vpWin32Renderer *rend) : iStatus(false), window(rend) { } +vpDisplayWin32::vpDisplayWin32(vpImage &I, int winx = -1, int winy = -1, const std::string &title = "") + : iStatus(false), window(nullptr) +{ + init(I, winx, winy, title); +} + +vpDisplayWin32::vpDisplayWin32(vpImage &I, int winx = -1, int winy = -1, const std::string &title = "") + : iStatus(false), window(nullptr) +{ + init(I, winx, winy, title); +} + + + /*! Destructor. */