Avoid unused variable warning
This commit is contained in:
@@ -696,7 +696,9 @@ void TextCtrlTestCase::DoPositionToXYMultiLine(long style)
|
|||||||
delete m_text;
|
delete m_text;
|
||||||
CreateText(style|wxTE_MULTILINE|wxTE_DONTWRAP);
|
CreateText(style|wxTE_MULTILINE|wxTE_DONTWRAP);
|
||||||
|
|
||||||
|
#if defined(__WXMSW__)
|
||||||
const bool isRichEdit = (style & (wxTE_RICH | wxTE_RICH2)) != 0;
|
const bool isRichEdit = (style & (wxTE_RICH | wxTE_RICH2)) != 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct { long x, y; } XYPos;
|
typedef struct { long x, y; } XYPos;
|
||||||
bool ok;
|
bool ok;
|
||||||
@@ -916,7 +918,9 @@ void TextCtrlTestCase::DoXYToPositionMultiLine(long style)
|
|||||||
delete m_text;
|
delete m_text;
|
||||||
CreateText(style|wxTE_MULTILINE|wxTE_DONTWRAP);
|
CreateText(style|wxTE_MULTILINE|wxTE_DONTWRAP);
|
||||||
|
|
||||||
|
#if defined(__WXMSW__)
|
||||||
const bool isRichEdit = (style & (wxTE_RICH | wxTE_RICH2)) != 0;
|
const bool isRichEdit = (style & (wxTE_RICH | wxTE_RICH2)) != 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
wxString text;
|
wxString text;
|
||||||
// empty field
|
// empty field
|
||||||
|
Reference in New Issue
Block a user