fix Dialog bugs
This commit is contained in:
@@ -53,8 +53,8 @@ void Dialog::Init()
|
|||||||
|
|
||||||
void Dialog::Shutdown()
|
void Dialog::Shutdown()
|
||||||
{
|
{
|
||||||
ASSERT( g_pImpl != NULL );
|
delete g_pImpl;
|
||||||
|
g_pImpl = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool MessageIsIgnored( CString ID )
|
static bool MessageIsIgnored( CString ID )
|
||||||
@@ -70,6 +70,7 @@ static bool MessageIsIgnored( CString ID )
|
|||||||
void Dialog::IgnoreMessage( CString ID )
|
void Dialog::IgnoreMessage( CString ID )
|
||||||
{
|
{
|
||||||
if( ID == "" )
|
if( ID == "" )
|
||||||
|
return;
|
||||||
|
|
||||||
if( MessageIsIgnored(ID) )
|
if( MessageIsIgnored(ID) )
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user