Time out and delete this message box
| 170 | |
| 171 | // Time out and delete this message box |
| 172 | void MessageBox::TimeOut() noexcept |
| 173 | { |
| 174 | if (IsBlocking()) |
| 175 | { |
| 176 | reprap.GetGCodes().MessageBoxClosed(CanCancel(), ShouldAbort(), false, seq, GetDefaultValue()); |
| 177 | } |
| 178 | --numMessages; |
| 179 | delete this; |
| 180 | } |
| 181 | |
| 182 | /*static*/ ReadLockedPointer<const MessageBox> MessageBox::GetLockedCurrent() noexcept |
| 183 | { |
no test coverage detected