X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/545cb3fcf2460919deb52cf47f6cb0bdf494fae7..7a0a6cc8f61cb53ce1c76897489e1e363d1a1fa5:/src/x11/bitmap.cpp diff --git a/src/x11/bitmap.cpp b/src/x11/bitmap.cpp index e528547e83..ce4fd780e3 100644 --- a/src/x11/bitmap.cpp +++ b/src/x11/bitmap.cpp @@ -295,7 +295,7 @@ bool wxBitmapRefData::Create(int width, int height, int depth) #else // !wxUSE_NANOX Window xroot = RootWindow(m_display, xscreen); - *(depth == 1 ? &m_bitmap : &m_pixmap) = + *(depth == 1 ? &m_bitmap : &m_pixmap) = XCreatePixmap(m_display, xroot, width, height, depth); #endif // wxUSE_NANOX/!wxUSE_NANOX