compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: src/generic/statbmp.cpp
|
// Name: src/generic/statbmp.cpp
|
||||||
// Purpose: wxGenericStaticBitmap
|
// Purpose: wxGenericStaticBitmap
|
||||||
// Author: Marcin Wojdyr, Stefan Csomor
|
// Author: Marcin Wojdyr, Stefan Csomor
|
||||||
// Created: 2008-06-16
|
// Created: 2008-06-16
|
||||||
// RCS-ID: $Id$
|
// RCS-ID: $Id$
|
||||||
@@ -12,17 +12,20 @@
|
|||||||
|
|
||||||
#if wxUSE_STATBMP
|
#if wxUSE_STATBMP
|
||||||
|
|
||||||
#include "wx/generic/statbmpg.h"
|
#ifndef WX_PRECOMP
|
||||||
|
#include "wx/dcclient.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/generic/statbmpg.h"
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxGenericStaticBitmap, wxStaticBitmapBase)
|
IMPLEMENT_DYNAMIC_CLASS(wxGenericStaticBitmap, wxStaticBitmapBase)
|
||||||
|
|
||||||
bool wxGenericStaticBitmap::Create(wxWindow *parent, wxWindowID id,
|
bool wxGenericStaticBitmap::Create(wxWindow *parent, wxWindowID id,
|
||||||
const wxBitmap& bitmap,
|
const wxBitmap& bitmap,
|
||||||
const wxPoint& pos, const wxSize& size,
|
const wxPoint& pos, const wxSize& size,
|
||||||
long style, const wxString& name)
|
long style, const wxString& name)
|
||||||
{
|
{
|
||||||
if (! wxControl::Create(parent, id, pos, size, style,
|
if (! wxControl::Create(parent, id, pos, size, style,
|
||||||
wxDefaultValidator, name))
|
wxDefaultValidator, name))
|
||||||
return false;
|
return false;
|
||||||
SetBitmap(bitmap);
|
SetBitmap(bitmap);
|
||||||
|
Reference in New Issue
Block a user