/////////////////////////////////////////////////////////////////////////////
-// Name: statbmp.cpp
+// Name: src/msw/statbmp.cpp
// Purpose: wxStaticBitmap
// Author: Julian Smart
// Modified by:
#if wxUSE_STATBMP
-#include "wx/window.h"
-#include "wx/msw/private.h"
+#include "wx/statbmp.h"
#ifndef WX_PRECOMP
+ #include "wx/window.h"
#include "wx/icon.h"
- #include "wx/statbmp.h"
#endif
+#include "wx/msw/private.h"
+
#include "wx/sysopt.h"
#include <stdio.h>
if (m_currentHandle != 0 && oldHandle != (HGDIOBJ) m_currentHandle)
{
// the static control made a copy and we are responsible for deleting it
- DeleteObject((HGDIOBJ) oldHandle);
+ DeleteObject((HGDIOBJ) oldHandle);
}
- m_currentHandle = (WXHANDLE)handle;
+ m_currentHandle = (WXHANDLE)handle;
#endif // Win32
if ( ImageIsOk() )
}
#endif // wxUSE_STATBMP
-