correct null reference if set flags is called in Init
This commit is contained in:
committed by
Vadim Zeitlin
parent
7e7530f010
commit
5261d3eb05
@@ -741,6 +741,9 @@ void wxWindowQt::SetWindowStyleFlag( long style )
|
||||
// qtFrame->setFrameShadow( QFrame::Plain );
|
||||
// }
|
||||
|
||||
if(!GetHandle())
|
||||
return;
|
||||
|
||||
Qt::WindowFlags qtFlags = GetHandle()->windowFlags();
|
||||
|
||||
if ( HasFlag( wxFRAME_NO_TASKBAR ) )
|
||||
|
Reference in New Issue
Block a user