MCPcopy Create free account
hub / github.com/audacity/audacity / Fit

Method Fit

src/widgets/NumericTextCtrl.cpp:498–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498void NumericTextCtrl::Fit()
499{
500 wxSize sz = GetSize();
501 wxSize csz = GetClientSize();
502
503 sz.x = mButtonWidth + mWidth + (sz.x - csz.x);
504 sz.y = mHeight + (sz.y - csz.y);
505
506 SetInitialSize(sz);
507}
508
509void NumericTextCtrl::OnErase(wxEraseEvent & WXUNUSED(event))
510{

Callers 15

MSWOnInitDialogMethod · 0.45
ErrorReportDialogMethod · 0.45
MultiDialogMethod · 0.45
ErrorDialogMethod · 0.45
AskResampleMethod · 0.45
AskResampleMethod · 0.45
UpdateUserDataMethod · 0.45
AddEffectsPageMethod · 0.45
ApplyMacroToProjectMethod · 0.45
OnApplyToFilesMethod · 0.45
PromptForPresetForMethod · 0.45
WarnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected