Patch #2251 2007-11-20 18:24

artoj

Remove wxNO_BORDER from Global variables' Delete button
Download
2251-Remove_wxNO_BO.patch (640 bytes)
Category
Application::Refinement
Status
Accepted
Close date
2007-11-21 04:46
Assigned to
biplab
Index: src/sdk/resources/global_uservars.xrc
===================================================================
--- src/sdk/resources/global_uservars.xrc    (revision 4649)
+++ src/sdk/resources/global_uservars.xrc    (working copy)
@@ -59,7 +59,6 @@
             <flag>wxALL|wxALIGN_CENTER</flag>
             <object class="wxButton" name="deleteSet">
               <label>Delete</label>
-              <style>wxNO_BORDER</style>
             </object>
           </object>
           <object class="sizeritem">
@@ -522,4 +521,4 @@
     </object>
     <centered>1</centered>
   </object>
-</resource>
\ No newline at end of file
+</resource>
artoj 2007-11-20 18:25

I have no idea why the wxNO_BORDER flag was applied. The SVN logs don't give any information either. However, using that flag makes the button look really bad on wxGTK (both the button enabled and disabled).