Include wx/scrolwin.h and wx/dirdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -22,10 +22,11 @@
 | 
			
		||||
 | 
			
		||||
#if wxUSE_DIRDLG
 | 
			
		||||
 | 
			
		||||
#include "wx/dirdlg.h"
 | 
			
		||||
 | 
			
		||||
#ifndef WX_PRECOMP
 | 
			
		||||
    #include "wx/msgdlg.h"
 | 
			
		||||
    #include "wx/filedlg.h"
 | 
			
		||||
    #include "wx/dirdlg.h"
 | 
			
		||||
    #include "wx/app.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -24,12 +24,12 @@
 | 
			
		||||
    #pragma hdrstop
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef WX_PRECOMP
 | 
			
		||||
#endif //WX_PRECOMP
 | 
			
		||||
#if wxUSE_DIRDLG
 | 
			
		||||
 | 
			
		||||
#include "wx/dirdlg.h"
 | 
			
		||||
 | 
			
		||||
#if wxUSE_DIRDLG
 | 
			
		||||
#ifndef WX_PRECOMP
 | 
			
		||||
#endif //WX_PRECOMP
 | 
			
		||||
 | 
			
		||||
// ============================================================================
 | 
			
		||||
// implementation
 | 
			
		||||
@@ -53,4 +53,3 @@ wxString wxDirSelector(const wxString& message,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // wxUSE_DIRDLG
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -37,10 +37,10 @@
 | 
			
		||||
    #include "wx/button.h"
 | 
			
		||||
    #include "wx/menu.h"
 | 
			
		||||
    #include "wx/settings.h"
 | 
			
		||||
    #include "wx/scrolwin.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "wx/layout.h"
 | 
			
		||||
#include "wx/scrolwin.h"
 | 
			
		||||
#include "wx/module.h"
 | 
			
		||||
#include "wx/menuitem.h"
 | 
			
		||||
#include "wx/evtloop.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -29,10 +29,11 @@
 | 
			
		||||
#if wxUSE_OLE && !defined(__GNUWIN32_OLD__) && (!defined(__WXWINCE__) || \
 | 
			
		||||
    (defined(__HANDHELDPC__) && (_WIN32_WCE >= 500)))
 | 
			
		||||
 | 
			
		||||
#include "wx/dirdlg.h"
 | 
			
		||||
 | 
			
		||||
#ifndef WX_PRECOMP
 | 
			
		||||
    #include "wx/utils.h"
 | 
			
		||||
    #include "wx/dialog.h"
 | 
			
		||||
    #include "wx/dirdlg.h"
 | 
			
		||||
    #include "wx/log.h"
 | 
			
		||||
    #include "wx/app.h"     // for GetComCtl32Version()
 | 
			
		||||
#endif
 | 
			
		||||
@@ -248,4 +249,3 @@ BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lp, LPARAM pData)
 | 
			
		||||
#endif // compiler/platform on which the code here compiles
 | 
			
		||||
 | 
			
		||||
#endif // wxUSE_DIRDLG
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -232,7 +232,7 @@ bool wxSlider::Create(
 | 
			
		||||
    m_windowStyle  = lStyle;
 | 
			
		||||
    m_nTickFreq    = 0;
 | 
			
		||||
 | 
			
		||||
    if (vId == -1)
 | 
			
		||||
    if (vId == wxID_ANY)
 | 
			
		||||
        m_windowId = (int)NewControlId();
 | 
			
		||||
    else
 | 
			
		||||
        m_windowId = vId;
 | 
			
		||||
@@ -464,13 +464,11 @@ bool wxSlider::Create(
 | 
			
		||||
    return true;
 | 
			
		||||
} // end of wxSlider::Create
 | 
			
		||||
 | 
			
		||||
void wxSlider::DoSetSize(
 | 
			
		||||
  int                               nX
 | 
			
		||||
, int                               nY
 | 
			
		||||
, int                               nWidth
 | 
			
		||||
, int                               nHeight
 | 
			
		||||
, int                               nSizeFlags
 | 
			
		||||
)
 | 
			
		||||
void wxSlider::DoSetSize( int nX,
 | 
			
		||||
                          int nY,
 | 
			
		||||
                          int nWidth,
 | 
			
		||||
                          int nHeight,
 | 
			
		||||
                          int nSizeFlags )
 | 
			
		||||
{
 | 
			
		||||
    int    nX1      = nX;
 | 
			
		||||
    int    nY1      = nY;
 | 
			
		||||
@@ -502,7 +500,7 @@ void wxSlider::DoSetSize(
 | 
			
		||||
        int nOS2ParentHeight = GetOS2ParentHeight(pParent);
 | 
			
		||||
 | 
			
		||||
        nYOffset = nOS2ParentHeight - (nYOffset + nOS2Height);
 | 
			
		||||
        if (nY != -1)
 | 
			
		||||
        if (nY != wxDefaultCoord)
 | 
			
		||||
            nY1 = nOS2ParentHeight - (nY1 + nOS2Height);
 | 
			
		||||
    }
 | 
			
		||||
    else
 | 
			
		||||
@@ -511,14 +509,12 @@ void wxSlider::DoSetSize(
 | 
			
		||||
 | 
			
		||||
        ::WinQueryWindowRect(HWND_DESKTOP, &vRect);
 | 
			
		||||
        nYOffset = vRect.yTop - (nYOffset + nOS2Height);
 | 
			
		||||
        if (nY != -1)
 | 
			
		||||
        if (nY != wxDefaultCoord)
 | 
			
		||||
            nY1 = vRect.yTop - (nY1 + nOS2Height);
 | 
			
		||||
    }
 | 
			
		||||
    m_nSizeFlags = nSizeFlags;
 | 
			
		||||
 | 
			
		||||
    GetPosition( &nCurrentX
 | 
			
		||||
                ,&nCurrentY
 | 
			
		||||
               );
 | 
			
		||||
    GetPosition( &nCurrentX, &nCurrentY );
 | 
			
		||||
    if (nX == -1 && !(nSizeFlags & wxSIZE_ALLOW_MINUS_ONE))
 | 
			
		||||
        nX1 = nCurrentX;
 | 
			
		||||
    if (nY == -1 && !(nSizeFlags & wxSIZE_ALLOW_MINUS_ONE))
 | 
			
		||||
 
 | 
			
		||||
@@ -28,10 +28,11 @@
 | 
			
		||||
 | 
			
		||||
#if defined(__WIN95__) && !defined(__GNUWIN32_OLD__) && wxUSE_OLE
 | 
			
		||||
 | 
			
		||||
#include "wx/dirdlg.h"
 | 
			
		||||
 | 
			
		||||
#ifndef WX_PRECOMP
 | 
			
		||||
    #include "wx/utils.h"
 | 
			
		||||
    #include "wx/dialog.h"
 | 
			
		||||
    #include "wx/dirdlg.h"
 | 
			
		||||
    #include "wx/log.h"
 | 
			
		||||
    #include "wx/app.h"     // for GetComCtl32Version()
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
@@ -43,10 +43,10 @@
 | 
			
		||||
    #include "wx/msgdlg.h"
 | 
			
		||||
    #include "wx/scrolbar.h"
 | 
			
		||||
    #include "wx/listbox.h"
 | 
			
		||||
    #include "wx/scrolwin.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "wx/layout.h"
 | 
			
		||||
#include "wx/scrolwin.h"
 | 
			
		||||
#include "wx/module.h"
 | 
			
		||||
#include "wx/menuitem.h"
 | 
			
		||||
#include "wx/fontutil.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -21,9 +21,8 @@
 | 
			
		||||
 | 
			
		||||
#ifndef WX_PRECOMP
 | 
			
		||||
    #include "wx/frame.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    #include "wx/scrolwin.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
IMPLEMENT_DYNAMIC_CLASS(wxScrolledWindowXmlHandler, wxXmlResourceHandler)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user