Force enable live resizing in wxAUI for GTK 3 too
Do for GTK 3 the same thing as was already done for macOS in 68030cae69
(Added wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on
wxOSX, 2009-01-07) and for the same reasons: sash feedback is simply
invisible with this port and so can't be used.
This commit is contained in:
@@ -213,8 +213,8 @@ public:
|
|||||||
If this function returns true, ::wxAUI_MGR_LIVE_RESIZE flag is ignored
|
If this function returns true, ::wxAUI_MGR_LIVE_RESIZE flag is ignored
|
||||||
and live resize is always used, whether it's specified or not.
|
and live resize is always used, whether it's specified or not.
|
||||||
|
|
||||||
Currently this is the case for wxOSX port, as live resizing is the only
|
Currently this is the case for wxOSX and wxGTK3 ports, as live resizing
|
||||||
implemented method there.
|
is the only implemented method there.
|
||||||
|
|
||||||
@since 3.1.4
|
@since 3.1.4
|
||||||
*/
|
*/
|
||||||
|
@@ -772,9 +772,9 @@ unsigned int wxAuiManager::GetFlags() const
|
|||||||
return m_flags;
|
return m_flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
// With Core Graphics on Mac, it's not possible to show sash feedback,
|
// With Core Graphics on Mac or GTK 3, it's not possible to show sash feedback,
|
||||||
// so we'll always use live update instead.
|
// so we'll always use live update instead.
|
||||||
#if defined(__WXMAC__)
|
#if defined(__WXMAC__) || defined(__WXGTK3__)
|
||||||
#define wxUSE_AUI_LIVE_RESIZE_ALWAYS 1
|
#define wxUSE_AUI_LIVE_RESIZE_ALWAYS 1
|
||||||
#else
|
#else
|
||||||
#define wxUSE_AUI_LIVE_RESIZE_ALWAYS 0
|
#define wxUSE_AUI_LIVE_RESIZE_ALWAYS 0
|
||||||
|
Reference in New Issue
Block a user