]> git.saurik.com Git - wxWidgets.git/commitdiff
initialize bitmap to avoid assertion
authorPaul Cornett <paulcor@bullseye.com>
Mon, 5 Nov 2007 07:11:01 +0000 (07:11 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 5 Nov 2007 07:11:01 +0000 (07:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/taskbarx11.cpp

index ab82f80a49bb57069bc7db6be1464d7f48b1270f..06118f3109a40061e0ecac2c0fa58eed18fe5232 100644 (file)
@@ -124,7 +124,7 @@ BEGIN_EVENT_TABLE(wxTaskBarIconArea, wxTaskBarIconAreaBase)
 END_EVENT_TABLE()
 
 wxTaskBarIconArea::wxTaskBarIconArea(wxTaskBarIcon *icon, const wxBitmap &bmp)
-    : wxTaskBarIconAreaBase(), m_icon(icon), m_pos(0,0)
+    : wxTaskBarIconAreaBase(), m_icon(icon), m_bmp(bmp)
 {
 #if defined(__WXGTK20__) && defined(TASKBAR_ICON_AREA_BASE_INCLUDED)
     m_invokingWindow = icon;