Skip to content

Commit

Permalink
STATIC_DOWNCAST broke, for some reason
Browse files Browse the repository at this point in the history
Grr. It said that CDirstatApp didn't have a member named
`classCDirstatApp`. I'm pretty sure this has to do with MFC message-map
nonsense.
  • Loading branch information
ariccio committed May 11, 2015
1 parent 7e51de1 commit a04d76e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WinDirStat/windirstat/windirstat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ CMainFrame* GetMainFrame( ) {
}

CDirstatApp* GetApp( ) {
//return static_cast< CDirstatApp* >( AfxGetApp( ) );
return STATIC_DOWNCAST( CDirstatApp, AfxGetApp( ) );
return static_cast< CDirstatApp* >( AfxGetApp( ) );
//return STATIC_DOWNCAST( CDirstatApp, AfxGetApp( ) );
}


Expand Down

0 comments on commit a04d76e

Please sign in to comment.