MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetMainFrame

Method GetMainFrame

Source/FamiTrackerView.cpp:510–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510CMainFrame *CFamiTrackerView::GetMainFrame() const {
511#ifdef _DEBUG
512 ASSERT(GetParentFrame()->IsKindOf(RUNTIME_CLASS(CMainFrame)));
513 auto pMainFrame = (CMainFrame *)GetParentFrame();
514 ASSERT_VALID(pMainFrame);
515 return pMainFrame;
516#else
517 return static_cast<CMainFrame* >(GetParentFrame());
518#endif
519}
520
521CFrameEditor *CFamiTrackerView::GetFrameEditor() const
522{

Callers 1

OnRButtonUpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected