| 157 | } |
| 158 | |
| 159 | void 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 | |
| 174 | void AButton::Init(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, bool toggle) |
no outgoing calls
no test coverage detected