diff options
Diffstat (limited to 'plugins/Import/src/dbrw/dbsql.cpp')
-rw-r--r-- | plugins/Import/src/dbrw/dbsql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Import/src/dbrw/dbsql.cpp b/plugins/Import/src/dbrw/dbsql.cpp index e403fac43b..3cfc5450f9 100644 --- a/plugins/Import/src/dbrw/dbsql.cpp +++ b/plugins/Import/src/dbrw/dbsql.cpp @@ -89,7 +89,7 @@ void CDbxSQLite::sql_server_sync(TSqlMessage *msg) { msg->hDoneEvent = CreateEvent(NULL, FALSE, FALSE, NULL); sql_server_sync_apc((UINT_PTR)msg); - PostMessage(m_hAPCWindow, WM_NULL, 0, 0); + PostMessage(Miranda_GetSystemWindow()->GetHwnd(), WM_NULL, 0, 0); WaitForSingleObject(msg->hDoneEvent, INFINITE); CloseHandle(msg->hDoneEvent); } |