DIALOG_SHIM: disable a debug trace (a printf in debug build), now not very useful.

(It can be re-enabled easily)
This commit is contained in:
jean-pierre charras 2019-04-02 11:54:29 +02:00
parent 0d2dd48cad
commit 5ebec518d0
1 changed files with 2 additions and 2 deletions

View File

@ -231,9 +231,9 @@ bool DIALOG_SHIM::Enable( bool enable )
{
// so we can do logging of this state change:
#if defined(DEBUG)
#if 0 && defined(DEBUG)
const char* type_id = typeid( *this ).name();
printf( "wxDialog %s: %s\n", type_id, enable ? "enabled" : "disabled" );
printf( "DIALOG_SHIM %s: %s\n", type_id, enable ? "enabled" : "disabled" );
fflush(0); //Needed on msys2 to immediately print the message
#endif