mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-22 12:38:08 +08:00
One more experiment
This commit is contained in:
parent
3688ae350b
commit
94efb5185b
@ -9,12 +9,12 @@
|
|||||||
#include "wx/generic/private/rowheightcache.h"
|
#include "wx/generic/private/rowheightcache.h"
|
||||||
#include "wx/generic/private/widthcalc.h"
|
#include "wx/generic/private/widthcalc.h"
|
||||||
#endif
|
#endif
|
||||||
|
/*
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
#include "wx/gtk/private.h"
|
#include "wx/gtk/private.h"
|
||||||
#include "wx/gtk/private/value.h"
|
#include "wx/gtk/private/value.h"
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
#if wxUSE_ACCESSIBILITY
|
#if wxUSE_ACCESSIBILITY
|
||||||
#include "wx/private/markupparser.h"
|
#include "wx/private/markupparser.h"
|
||||||
#endif // wxUSE_ACCESSIBILITY
|
#endif // wxUSE_ACCESSIBILITY
|
||||||
@ -83,6 +83,7 @@ bool BitmapTextRenderer::SetValue(const wxVariant &value)
|
|||||||
#ifdef wxHAS_GENERIC_DATAVIEWCTRL
|
#ifdef wxHAS_GENERIC_DATAVIEWCTRL
|
||||||
if (m_markupText)
|
if (m_markupText)
|
||||||
m_markupText->SetMarkup(m_value.GetText());
|
m_markupText->SetMarkup(m_value.GetText());
|
||||||
|
/*
|
||||||
#else
|
#else
|
||||||
#if defined(__WXGTK__)
|
#if defined(__WXGTK__)
|
||||||
GValue gvalue = G_VALUE_INIT;
|
GValue gvalue = G_VALUE_INIT;
|
||||||
@ -91,6 +92,7 @@ bool BitmapTextRenderer::SetValue(const wxVariant &value)
|
|||||||
g_object_set_property(G_OBJECT(m_renderer/ *.GetText()* /), is_markupText ? "markup" : "text", &gvalue);
|
g_object_set_property(G_OBJECT(m_renderer/ *.GetText()* /), is_markupText ? "markup" : "text", &gvalue);
|
||||||
g_value_unset(&gvalue);
|
g_value_unset(&gvalue);
|
||||||
#endif // __WXGTK__
|
#endif // __WXGTK__
|
||||||
|
*/
|
||||||
#endif // wxHAS_GENERIC_DATAVIEWCTRL
|
#endif // wxHAS_GENERIC_DATAVIEWCTRL
|
||||||
#endif // SUPPORTS_MARKUP
|
#endif // SUPPORTS_MARKUP
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user