]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_radbx.cpp
use a filename, not URL, when quering its modification time
[wxWidgets.git] / src / xrc / xh_radbx.cpp
index 9beea7ba9dfeea4cfe5b15af180d7552e51e2cb9..83be9a2d291f93d00e894e871d76fc5123432090 100644 (file)
@@ -81,12 +81,14 @@ wxObject *wxRadioBoxXmlHandler::DoCreateResource()
 
         SetupWindow(control);
 
+#if wxUSE_TOOLTIPS
         const unsigned count = labels.size();
         for( unsigned i = 0; i < count; i++ )
         {
             if ( !tooltips[i].empty() )
                 control->SetItemToolTip(i, tooltips[i]);
         }
+#endif // wxUSE_TOOLTIPS
 
         labels.clear();    // dump the strings
         tooltips.clear();    // dump the tooltips