__WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-12-19 10:55:11 +00:00
parent a71d815bbe
commit 1ed6437807
7 changed files with 10 additions and 33 deletions

View File

@@ -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());
*/
}