MCPcopy Create free account
hub / github.com/cmauri/eviacam / OnMainWindowShow

Method OnMainWindowShow

src/clickwindowbitmap.cpp:247–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void CClickWindowBitmap::OnMainWindowShow ( wxShowEvent& event )
248{
249 if (event.IsShown()) {
250 m_btnShowFrame->SetBitmapLabel(m_bmpButtonHideMainWindow);
251 m_btnShowFrame->SetToolTip(_("Hide main window"));
252 }
253 else {
254 m_btnShowFrame->SetBitmapLabel(m_bmpButtonShowMainWindow);
255 m_btnShowFrame->SetToolTip(_("Show main window"));
256 }
257 // Set to true to propagate events to the text mode clickwindow
258 event.Skip (true);
259}
260

Callers

nothing calls this directly

Calls 1

IsShownMethod · 0.80

Tested by

no test coverage detected