]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/toplevel.cpp
Don't send listbox selection events when mouse wasn't clicked on an item.
[wxWidgets.git] / src / x11 / toplevel.cpp
index 14525801b36808e9e84aa1988f0b5d876461ad01..f92651ed708e72331657aaae31368a05601f4b0f 100644 (file)
@@ -693,8 +693,7 @@ bool wxSetWMDecorations(Window w, long style)
     }
 
     if ((style & wxCAPTION) ||
-        (style & wxTINY_CAPTION_HORIZ) ||
-        (style & wxTINY_CAPTION_VERT))
+        (style & wxTINY_CAPTION))
     {
         wmProp.props |= GR_WM_PROPS_CAPTION ;
         wmProp.flags |= GR_WM_FLAGS_PROPS ;