Пример #1
0
pxStaticText &pxStaticText::PaddingPixH(int pixels)
{
    m_paddingPix_horiz = pixels;
    UpdateWrapping(false);
    Refresh();
    return *this;
}
Пример #2
0
pxStaticText &pxStaticText::PaddingPctH(float pct)
{
    pxAssert(pct < 0.5);

    m_paddingPct_horiz = pct;
    UpdateWrapping(false);
    Refresh();
    return *this;
}
Пример #3
0
void pxStaticText::SetLabel(const wxString &label)
{
    const bool labelChanged(label != m_label);
    if (labelChanged) {
        m_label = label;
        Refresh();
    }

    // Always update wrapping, in case window width or something else also changed.
    UpdateWrapping(labelChanged);
    InvalidateBestSize();
}
Пример #4
0
pxStaticText &pxStaticText::Unwrapped()
{
    m_autowrap = false;
    UpdateWrapping(false);
    return *this;
}
void VoiceRecord_DSound::Idle()
{
	UpdateWrapping();
}