include/graphics/nxwidgets/cwidgetcontrol.hxx: Add handshare to getWindowHandle() to avoid returning a NULL handle. But now Twm4Nx hangs waiting for the non-NULL handle,
This commit is contained in:
parent
f730108adb
commit
278b40b766
@ -667,6 +667,15 @@ namespace NXWidgets
|
|||||||
|
|
||||||
inline NXHANDLE getWindowHandle(void)
|
inline NXHANDLE getWindowHandle(void)
|
||||||
{
|
{
|
||||||
|
// Verify that we have the window handle
|
||||||
|
|
||||||
|
if (m_hWindow == (NXHANDLE)0)
|
||||||
|
{
|
||||||
|
// The window handle is saved at the same time as the bounds
|
||||||
|
|
||||||
|
waitBoundsData();
|
||||||
|
}
|
||||||
|
|
||||||
return m_hWindow;
|
return m_hWindow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user