Skip to content

Commit

Permalink
Merge latest master changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinob committed Sep 11, 2016
1 parent 99abddb commit aff8d50
Show file tree
Hide file tree
Showing 53 changed files with 47,465 additions and 46,054 deletions.
4 changes: 1 addition & 3 deletions Externals/wxWidgets3/src/gtk/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3072,9 +3072,7 @@ void wxWindowGTK::DoSetClientSize( int width, int height )

const wxSize size = GetSize();
const wxSize clientSize = GetClientSize();
// XXX: Dolphin: This is an internal call, it should never trigger the SetSize path in derived classes.
// This fixes wxAuiToolbar setting itself to 21 pixels wide regardless of content.
wxWindowGTK::DoSetSize(wxDefaultCoord, wxDefaultCoord, width + (size.x - clientSize.x), height + (size.y - clientSize.y), wxSIZE_USE_EXISTING);
SetSize(width + (size.x - clientSize.x), height + (size.y - clientSize.y));
}

void wxWindowGTK::DoGetClientSize( int *width, int *height ) const
Expand Down
3 changes: 1 addition & 2 deletions Externals/wxWidgets3/src/osx/window_osx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1212,8 +1212,7 @@ void wxWindowMac::DoSetClientSize(int clientwidth, int clientheight)
GetClientSize( &currentclientwidth , &currentclientheight ) ;
GetSize( &currentwidth , &currentheight ) ;

// XXX: Dolphin. Do not allow internal semantic call to become visible to derived classes.
wxWindowMac::DoSetSize( wxDefaultCoord , wxDefaultCoord , currentwidth + clientwidth - currentclientwidth ,
DoSetSize( wxDefaultCoord , wxDefaultCoord , currentwidth + clientwidth - currentclientwidth ,
currentheight + clientheight - currentclientheight , wxSIZE_USE_EXISTING ) ;
}
}
Expand Down
Loading

0 comments on commit aff8d50

Please sign in to comment.