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:
parent
0d2dd48cad
commit
5ebec518d0
|
@ -231,9 +231,9 @@ bool DIALOG_SHIM::Enable( bool enable )
|
||||||
{
|
{
|
||||||
// so we can do logging of this state change:
|
// so we can do logging of this state change:
|
||||||
|
|
||||||
#if defined(DEBUG)
|
#if 0 && defined(DEBUG)
|
||||||
const char* type_id = typeid( *this ).name();
|
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
|
fflush(0); //Needed on msys2 to immediately print the message
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue