/////////////////////////////////////////////////////////////////////////////
-// Name: cocoa/statbmp.mm
+// Name: src/cocoa/statbmp.mm
// Purpose: wxStaticBitmap
// Author: David Elliott
// Modified by:
// Created: 2003/02/15
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWidgets licence
+// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
+
+#include "wx/statbmp.h"
+
#ifndef WX_PRECOMP
#include "wx/app.h"
- #include "wx/statbmp.h"
#endif //WX_PRECOMP
+
#include "wx/cocoa/autorelease.h"
#import <AppKit/NSImageView.h>
IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
+
BEGIN_EVENT_TABLE(wxStaticBitmap, wxControl)
END_EVENT_TABLE()
// WX_IMPLEMENT_COCOA_OWNER(wxStaticBitmap,NSTextField,NSControl,NSView)
{
return wxNullBitmap;
}
-
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/radiobut.h"
+ #include "wx/statbmp.h"
#endif
#if wxUSE_STATBMP
#include "wx/bitmap.h"
- #include "wx/statbmp.h"
#endif // wxUSE_STATBMP
const wxChar wxControlNameStr[] = wxT("control");
/////////////////////////////////////////////////////////////////////////////
-// Name: univ/statbmp.cpp
+// Name: src/univ/statbmp.cpp
// Purpose: wxStaticBitmap implementation
// Author: Vadim Zeitlin
// Modified by:
#if wxUSE_STATBMP
+#include "wx/statbmp.h"
+
#ifndef WX_PRECOMP
#include "wx/dc.h"
#include "wx/icon.h"
- #include "wx/statbmp.h"
#include "wx/validate.h"
#endif
}
#endif // wxUSE_STATBMP
-
#include "wx/log.h"
#include "wx/frame.h"
#include "wx/dcclient.h"
+ #include "wx/statbmp.h"
#endif
#include "wx/bitmap.h"
-#include "wx/statbmp.h"
#include "wx/sizer.h"
#include "wx/image.h"
BEGIN_EVENT_TABLE(wxTaskBarIconArea, wxTaskBarIconAreaBase)
EVT_SIZE(wxTaskBarIconArea::OnSizeChange)
EVT_MOUSE_EVENTS(wxTaskBarIconArea::OnMouseEvent)
- EVT_MENU(-1, wxTaskBarIconArea::OnMenuEvent)
+ EVT_MENU(wxID_ANY, wxTaskBarIconArea::OnMenuEvent)
EVT_PAINT(wxTaskBarIconArea::OnPaint)
END_EVENT_TABLE()
/////////////////////////////////////////////////////////////////////////////
-// Name: xh_stbmp.cpp
+// Name: src/xrc/xh_stbmp.cpp
// Purpose: XRC resource for wxStaticBitmap
// Author: Vaclav Slavik
// Created: 2000/04/22
#pragma hdrstop
#endif
-#if wxUSE_XRC
+#if wxUSE_XRC && wxUSE_STATBMP
#include "wx/xrc/xh_stbmp.h"
-#include "wx/statbmp.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/statbmp.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmapXmlHandler, wxXmlResourceHandler)
wxStaticBitmapXmlHandler::wxStaticBitmapXmlHandler()
-: wxXmlResourceHandler()
+ :wxXmlResourceHandler()
{
AddWindowStyles();
}
return IsOfClass(node, wxT("wxStaticBitmap"));
}
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_STATBMP