X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cecdcad1db85bec15c83bc80543742fb32dacb27..d7903e1336b9a8f220b6495999feb2977e3901d7:/contrib/samples/ogl/studio/mainfrm.cpp diff --git a/contrib/samples/ogl/studio/mainfrm.cpp b/contrib/samples/ogl/studio/mainfrm.cpp index cc4730c01f..e5f97fc674 100644 --- a/contrib/samples/ogl/studio/mainfrm.cpp +++ b/contrib/samples/ogl/studio/mainfrm.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: mainfrm.cpp +// Name: ogl/stufio/mainfrm.cpp // Purpose: Studio main frame // Author: Julian Smart // Modified by: @@ -184,7 +184,7 @@ void csFrame::OnIdle(wxIdleEvent& event) wxLayoutAlgorithm layout; layout.LayoutMDIFrame(this); -#if defined(__WXMSW__) && defined(__WIN95__) +#if defined(__WXMSW__) // Need to do something else to get it to refresh properly // when a client frame is first displayed; moving the client // window doesn't cause the proper refresh. Just refreshing the @@ -202,7 +202,7 @@ void csFrame::OnIdle(wxIdleEvent& event) } #endif -#endif +#endif // __WXMSW__ } event.Skip(); } @@ -277,4 +277,3 @@ void csMDIChildFrame::OnActivate(wxActivateEvent& event) layout.LayoutMDIFrame((wxMDIParentFrame*) GetParent()); */ } -