Fix wxButton::SetBitmapPosition() with GTK+ 3
Make the check for GTK+ >= 2.10 pass for GTK+ 3 too by simply not making it in this case. Closes #18004.
This commit is contained in:
parent
0b8c4d54a8
commit
a8671869e5
2
3rdparty/catch
vendored
2
3rdparty/catch
vendored
@ -1 +1 @@
|
||||
Subproject commit 2d91035404884089d1faf038300e437963e0c2a4
|
||||
Subproject commit 011f6e6458d888246f94643e293f002073cff489
|
@ -173,6 +173,7 @@ wxGTK:
|
||||
- Make wxBORDER_NONE work for wxTextCtrl with GTK+ 3 (Adrien Tétar).
|
||||
- Apply wxTextCtrl::SetDefaultStyle() to user-entered text (Andreas Falkenhahn).
|
||||
- Fix wxTextCtrl::GetStyle() with GTK+ 3.
|
||||
- Fix wxButton::SetBitmapPosition() with GTK+ 3 (Jake Nelson).
|
||||
- Support background colour in wxDataViewCtrl attributes.
|
||||
- Improve wxSpinCtrl best size calculation.
|
||||
- Implement support for icon locations in wxMimeTypesManager (Hanmac).
|
||||
|
@ -389,7 +389,9 @@ void wxAnyButton::DoSetBitmap(const wxBitmap& bitmap, State which)
|
||||
void wxAnyButton::DoSetBitmapPosition(wxDirection dir)
|
||||
{
|
||||
#ifdef __WXGTK210__
|
||||
#ifndef __WXGTK3__
|
||||
if ( !gtk_check_version(2,10,0) )
|
||||
#endif
|
||||
{
|
||||
GtkPositionType gtkpos;
|
||||
switch ( dir )
|
||||
|
Loading…
Reference in New Issue
Block a user