pxStaticText &pxStaticText::PaddingPixH(int pixels) { m_paddingPix_horiz = pixels; UpdateWrapping(false); Refresh(); return *this; }
pxStaticText &pxStaticText::PaddingPctH(float pct) { pxAssert(pct < 0.5); m_paddingPct_horiz = pct; UpdateWrapping(false); Refresh(); return *this; }
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(); }
pxStaticText &pxStaticText::Unwrapped() { m_autowrap = false; UpdateWrapping(false); return *this; }
void VoiceRecord_DSound::Idle() { UpdateWrapping(); }