wxWidgets/samples/widgets
Dimitri Schoolwerth 6636ef8ddf Use wxString's empty() when checking if the string is (non-)empty throughout wx.
Instead of constructs such as if "( s.length() )" and "if (s.length() > 0)" use "if ( !s.empty() )" instead. Similarly for "if (s.length() == 0)" or "if ( s.IsNull() )", use "if ( s.empty() )".
No code changes intended except for a few instances where a construct like "if ( s.length() && wxFileExists(s) )" was changed to not check the length of the string and let wxFileExists handle such cases.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-22 14:38:36 +00:00
..
icons added wxGenericStaticBitmap (#9608) 2008-06-21 15:32:33 +00:00
bmpcombobox.cpp Use wxString's empty() when checking if the string is (non-)empty throughout wx. 2011-01-22 14:38:36 +00:00
button.cpp Add new wxCommandLinkButton class. 2010-08-17 14:48:50 +00:00
checkbox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
choice.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
clrpicker.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
combobox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
datepick.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
dirctrl.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
dirpicker.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
editlbox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
filectrl.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
filepicker.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
fontpicker.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
gauge.cpp No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
hyperlnk.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
itemcontainer.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
itemcontainer.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
listbox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
makefile.bcc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
makefile.gcc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
Makefile.in Rebake. 2010-01-09 19:56:18 +00:00
makefile.mic Added missing licence line 2004-11-22 20:40:22 +00:00
makefile.unx Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
makefile.vc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
makefile.wat Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
notebook.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
odcombobox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
radiobox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
searchctrl.cpp No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
slider.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
spinbtn.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
statbmp.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
static.cpp Correct drawing of mnemonics in wxStaticBox label under wxMSW. 2010-09-21 11:44:47 +00:00
textctrl.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
toggle.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
widgets_vc7.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
widgets_vc8.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
widgets_vc9.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
widgets.bkl add headers to the samples' bakefiles so that they show up in MSVC project files 2009-03-04 11:47:32 +00:00
widgets.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
widgets.dsp Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
widgets.h Use GetWidgets() in the widgets samples instead of GetWidget2(). 2010-05-13 15:31:30 +00:00