]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix (float => wxCoord)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 12 Nov 1999 19:41:43 +0000 (19:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 12 Nov 1999 19:41:43 +0000 (19:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/tbargtk.h
include/wx/gtk1/tbargtk.h
src/gtk/tbargtk.cpp
src/gtk1/tbargtk.cpp

index 6eceed4124c9589c7cb0799c0e557ed16677acf4..5c59c3814d385a897af42a4169534a2e18715904 100644 (file)
@@ -74,7 +74,7 @@ public:
     // If toggle is TRUE, the button toggles between the two states.
     virtual wxToolBarTool *AddTool( int toolIndex, const wxBitmap& bitmap, 
       const wxBitmap& pushedBitmap = wxNullBitmap, bool toggle = FALSE,
-      float xPos = -1, float yPos = -1, wxObject *clientData = (wxObject *)NULL,
+      wxCoord xPos = -1, wxCoord yPos = -1, wxObject *clientData = (wxObject *)NULL,
       const wxString& helpString1 = "", const wxString& helpString2 = "");
     virtual void AddSeparator(void);
     virtual void ClearTools(void);
index 6eceed4124c9589c7cb0799c0e557ed16677acf4..5c59c3814d385a897af42a4169534a2e18715904 100644 (file)
@@ -74,7 +74,7 @@ public:
     // If toggle is TRUE, the button toggles between the two states.
     virtual wxToolBarTool *AddTool( int toolIndex, const wxBitmap& bitmap, 
       const wxBitmap& pushedBitmap = wxNullBitmap, bool toggle = FALSE,
-      float xPos = -1, float yPos = -1, wxObject *clientData = (wxObject *)NULL,
+      wxCoord xPos = -1, wxCoord yPos = -1, wxObject *clientData = (wxObject *)NULL,
       const wxString& helpString1 = "", const wxString& helpString2 = "");
     virtual void AddSeparator(void);
     virtual void ClearTools(void);
index 2e0def79b69a244209d38ebdbdc5da409bdbd70b..c23fc6e6fbe2820b91756a89c60500a857d174f7 100644 (file)
@@ -265,7 +265,7 @@ void wxToolBar::OnMouseEnter( int toolIndex )
 
 wxToolBarTool *wxToolBar::AddTool( int toolIndex, const wxBitmap& bitmap,
   const wxBitmap& pushedBitmap, bool toggle,
-  float WXUNUSED(xPos), float WXUNUSED(yPos), wxObject *clientData,
+  wxCoord WXUNUSED(xPos), wxCoord WXUNUSED(yPos), wxObject *clientData,
   const wxString& helpString1, const wxString& helpString2 )
 {
     m_hasToolAlready = TRUE;
index 2e0def79b69a244209d38ebdbdc5da409bdbd70b..c23fc6e6fbe2820b91756a89c60500a857d174f7 100644 (file)
@@ -265,7 +265,7 @@ void wxToolBar::OnMouseEnter( int toolIndex )
 
 wxToolBarTool *wxToolBar::AddTool( int toolIndex, const wxBitmap& bitmap,
   const wxBitmap& pushedBitmap, bool toggle,
-  float WXUNUSED(xPos), float WXUNUSED(yPos), wxObject *clientData,
+  wxCoord WXUNUSED(xPos), wxCoord WXUNUSED(yPos), wxObject *clientData,
   const wxString& helpString1, const wxString& helpString2 )
 {
     m_hasToolAlready = TRUE;