Prop window null?
This commit is contained in:
@@ -56,7 +56,7 @@ PartInstance* Application::makePart()
|
|||||||
|
|
||||||
void Application::setFocus(bool focus)
|
void Application::setFocus(bool focus)
|
||||||
{
|
{
|
||||||
if(_propWindow->_hwndProp != NULL)
|
if(_propWindow != NULL && _propWindow->_hwndProp != NULL)
|
||||||
if(focus)
|
if(focus)
|
||||||
{
|
{
|
||||||
ShowWindow(_propWindow->_hwndProp, SW_SHOW);
|
ShowWindow(_propWindow->_hwndProp, SW_SHOW);
|
||||||
|
|||||||
Reference in New Issue
Block a user