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

Method SetFrameMid

src/widgets/AButton.cpp:159–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void AButton::SetFrameMid(int mid)
160{
161 if(mid == mFrameMid)
162 return;
163 mFrameMid = mid;
164
165 if(mType == FrameButton)
166 {
167 InvalidateBestSize();
168 Refresh(false);
169 PostSizeEventToParent();
170 }
171}
172
173
174void AButton::Init(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, bool toggle)

Callers 6

MakeButtonMethod · 0.80
MakeLoginButtonFunction · 0.80
MakeControlToolBarButtonFunction · 0.80
MakeToolsToolBarButtonFunction · 0.80
CreateButtonMethod · 0.80
PopulateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected