]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
moved OLE files group under MSW files -- this is more logical
[wxWidgets.git] / src / common / wincmn.cpp
index f894eed0732ab7ed90421b6b7895f1a8d40302c8..aa805541dab4eed34953bd7f7e5afa5a6d20c4d7 100644 (file)
@@ -1177,7 +1177,9 @@ bool wxWindowBase::TransferDataToWindow()
         if ( validator && !validator->TransferToWindow() )
         {
             wxLogWarning(_("Could not transfer data to window"));
+#if wxUSE_LOG
             wxLog::FlushActive();
+#endif // wxUSE_LOG
 
             return FALSE;
         }