]> git.saurik.com Git - wxWidgets.git/commitdiff
Include wx/statbmp.h according to precompiled headers of wx/wx.h (with other minor...
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 31 May 2006 09:34:05 +0000 (09:34 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 31 May 2006 09:34:05 +0000 (09:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/statbmp.mm
src/common/ctrlcmn.cpp
src/univ/statbmp.cpp
src/unix/taskbarx11.cpp
src/xrc/xh_stbmp.cpp

index 10c5ec1ebeccf2833b9d62c3acff83a53dfbaed6..0be69ca515805a48b39d38d80df93cba6d64e3b9 100644 (file)
@@ -1,24 +1,28 @@
 /////////////////////////////////////////////////////////////////////////////
-// 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)
@@ -59,4 +63,3 @@ wxBitmap wxStaticBitmap::GetBitmap() const
 {
     return wxNullBitmap;
 }
-
index 9f6df5c86fb20a5dabf1d1cae76102251b467186..59927459797f65b99660a109f68f5043e272c536 100644 (file)
 #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");
index 6177e7065b09522abbd347f0f77022928b6dec8a..c71ce2a7b4659ce6c2b9e9e133195bba9b568b5a 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// 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
 
@@ -105,4 +106,3 @@ void wxStaticBitmap::DoDraw(wxControlRenderer *renderer)
 }
 
 #endif // wxUSE_STATBMP
-
index f95165004a7c34fb78ec29d3e14083aa49e23f97..db3cd49704fd4b539f94caaf0f779bae22b9574b 100644 (file)
     #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"
 
@@ -118,7 +118,7 @@ protected:
 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()
 
index d7e7b9bc9589c5caf094b04b68f132bb091e5ba3..2fdcd9699936c25e0c912b8e0de99f8ef2f99f04 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// 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();
 }
@@ -49,4 +52,4 @@ bool wxStaticBitmapXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxStaticBitmap"));
 }
 
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_STATBMP