Fix a compil issue: Try a better fix than commit 8f0449c
.
This commit is contained in:
parent
98b9c80eb4
commit
56c31e65f6
|
@ -360,7 +360,9 @@ void EDA_BASE_FRAME::LoadWindowSettings( WINDOW_SETTINGS* aCfg )
|
||||||
wxLogTrace( traceDisplayLocation, "Previous display not found" );
|
wxLogTrace( traceDisplayLocation, "Previous display not found" );
|
||||||
|
|
||||||
// If it isn't attached, use the first display
|
// If it isn't attached, use the first display
|
||||||
wxDisplay display( int( 0 ) );
|
// Warning wxDisplay has 2 ctor variants. the parameter needs a type:
|
||||||
|
const unsigned int index = 0;
|
||||||
|
wxDisplay display( index );
|
||||||
wxRect clientSize = display.GetClientArea();
|
wxRect clientSize = display.GetClientArea();
|
||||||
|
|
||||||
wxLogDebug( "Client size (%d, %d)", clientSize.width, clientSize.height );
|
wxLogDebug( "Client size (%d, %d)", clientSize.width, clientSize.height );
|
||||||
|
|
Loading…
Reference in New Issue