Skip to content

Commit

Permalink
Merge pull request #4334 from ligfx/fixcontrollerdialog
Browse files Browse the repository at this point in the history
InputConfigDialog: use SelectObjectAsSource in UpdateBitmaps
  • Loading branch information
shuffle2 committed Oct 16, 2016
2 parents d84f0c3 + 6b2f6e3 commit e30d31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp
Expand Up @@ -500,7 +500,7 @@ void InputConfigDialog::UpdateBitmaps(wxTimerEvent& WXUNUSED(event))

wxBitmap bitmap(g->static_bitmap->GetBitmap());
// NOTE: Selecting the bitmap inherits the bitmap's ScaleFactor onto the DC as well.
dc.SelectObject(bitmap);
dc.SelectObjectAsSource(bitmap);
dc.SetBackground(*wxWHITE_BRUSH);
dc.Clear();

Expand Down

0 comments on commit e30d31a

Please sign in to comment.