#endif
// For compilers that support precompilation, includes "wx.h".
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#include <wx/wx.h>
#endif
-#include <wx/wxexpr.h>
+#if wxUSE_DEPRECATED
+#include <wx/deprecated/wxexpr.h>
+#endif
#include <wx/ogl/basic.h>
#include <wx/ogl/basicp.h>
wxBitmapShape::wxBitmapShape():wxRectangleShape(100.0, 50.0)
{
- m_filename = "";
+ m_filename = wxEmptyString;
}
wxBitmapShape::~wxBitmapShape()
{
if (!m_bitmap.Ok())
return;
-
+
wxMemoryDC tempDC;
tempDC.SelectObject(m_bitmap);
double x, y;
SetDefaultRegionSize();
}
-#ifdef PROLOGIO
+#if wxUSE_PROLOGIO
void wxBitmapShape::WriteAttributes(wxExpr *clause)
{
// Can't really save the bitmap; so instantiate the bitmap