summaryrefslogtreecommitdiff
path: root/wx+/button.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:17:51 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:17:51 +0200
commit237aedc590b58c0e69d7dfcac92b5f767b7c004a (patch)
tree83f361a82ba483f2daf83b677e8685cd953812d9 /wx+/button.cpp
parent4.5 (diff)
downloadFreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.gz
FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.bz2
FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.zip
4.6
Diffstat (limited to 'wx+/button.cpp')
-rw-r--r--wx+/button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/button.cpp b/wx+/button.cpp
index a4d543cf..80a9f8ba 100644
--- a/wx+/button.cpp
+++ b/wx+/button.cpp
@@ -175,7 +175,7 @@ wxBitmap BitmapButton::createBitmapFromText(const wxString& text)
//copy one image into another, allowing arbitrary overlapping! (pos may contain negative numbers)
-void writeToImage(const wxImage& source, const wxPoint pos, wxImage& target)
+void writeToImage(const wxImage& source, const wxPoint& pos, wxImage& target)
{
//determine startpositions in source and target image, as well as width and height to be copied
wxPoint posSrc, posTrg;
bgstack15