X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e05ffbd3eff02a4c643e412d4f600cdea26952..56dade3c4d9b09f8bd290daf31a6b635aede029a:/src/gtk/bmpbuttn.cpp diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index dc359f07c7..32ac3f8575 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -218,15 +218,15 @@ void wxBitmapButton::SetBitmap() else { if (m_isSelected) - { - the_one = m_selected; - } + { + the_one = m_selected; + } else - { + { if (m_hasFocus) - the_one = m_focus; + the_one = m_focus; else - the_one = m_bitmap; + the_one = m_bitmap; } }