wxWidgets/samples
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
..
access No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
animate Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
artprov Add go to first/last and plus/minus art provider icons. 2010-12-31 17:39:01 +00:00
aui Use wxString's empty() when checking if the string is (non-)empty throughout wx. 2011-01-22 14:38:36 +00:00
calendar Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
caret No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
clipboard Set svn properties on .cpp files. 2010-09-17 11:17:55 +00:00
collpane Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
combo Use wxComboCtrl::SetTextCtrlStyle() in the combo sample 2010-06-13 10:00:14 +00:00
config Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
console No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
controls Inherit notebook background recursively under wxMSW. 2010-08-10 21:48:17 +00:00
dataview Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
debugrpt Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
dialogs No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
dialup Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
display Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
dll Check in samples/dll for WXUSINGDLL. 2010-04-30 16:46:22 +00:00
dnd Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
docview Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
dragimag No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
drawing Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
erase Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
event Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
except Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
exec Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
flash No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
font Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
fswatcher Fix wrong wxLogDebug() call in fswatcher sample. 2010-10-24 22:41:18 +00:00
grid Remove selection showing code from the grid sample. 2010-07-24 11:56:11 +00:00
help Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
htlbox Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
html Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
image Add wxVersionInfo and functions returning it for 3rd party libraries. 2010-11-25 00:53:44 +00:00
internat Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
ipc Remove unnecessary check from IPC sample. 2010-10-07 20:43:20 +00:00
joytest build fix 2011-01-07 04:51:21 +00:00
keyboard Improve printing out of pressed keys in the keyboard sample. 2010-09-11 10:18:57 +00:00
layout No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
listctrl Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
mdi Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
mediaplayer Update OpenVMS compile support 2011-01-07 14:03:51 +00:00
memcheck Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
menu Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
mfc Disable deprecation and other warnings in MFC sample. 2011-01-12 13:39:24 +00:00
minimal No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
nativdlg Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
notebook Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
oleauto Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
opengl Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
ownerdrw Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
popup Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
power Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
printing Add "virtual" keywords to the overridden functions in the printing sample. 2011-01-03 18:44:16 +00:00
propgrid Use wxString's empty() when checking if the string is (non-)empty throughout wx. 2011-01-22 14:38:36 +00:00
regtest Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
render Add ability to render checkbox in undeterminate state, fixes #12290: wxRendererGTK does not support wx.CONTROL_UNDETERMINED for checkboxes 2010-07-29 16:57:09 +00:00
ribbon Add possibility to hide panels in wxRibbon. 2011-01-06 22:02:07 +00:00
richtext Implemented text boxes and tables, and further editing pages for backgrounds, borders and margins. 2011-01-14 11:57:44 +00:00
sashtest Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
scroll Store the result of wxWindow::NewControlId() in wxWindowIDRef. 2010-07-23 23:32:56 +00:00
shaped Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sockets Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
sound Allow selecting any kind of file in the sound sample. 2011-01-03 14:58:26 +00:00
splash Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
splitter Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
statbar Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
stc Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
svg Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
taborder Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
taskbar Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
text Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
thread Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
toolbar Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
treectrl Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
typetest Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
uiaction Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
validate Add wxIntegerValidator and wxFloatingPointValidator classes. 2011-01-19 10:48:28 +00:00
vscroll Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
widgets Use wxString's empty() when checking if the string is (non-)empty throughout wx. 2011-01-22 14:38:36 +00:00
wizard Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
wrapsizer Use wxPanel as controls parent in wrapsizer sample. 2010-08-10 21:48:22 +00:00
xrc Don't use some "recent" C++98 features not supported by VC6. 2010-11-16 22:38:06 +00:00
xti updated xti sample 2011-01-07 18:14:45 +00:00
Info.plist Remove executable bits from plist files. 2010-07-22 12:09:10 +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
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
sample_os2.ico Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sample.ico
sample.r
sample.rc
sample.rc4 Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sample.rcO Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
sample.xpm
samples.bkl Adding wxUIActionSimulator, a class for programmatically controlling the mouse and keyboard. 2010-03-06 20:09:23 +00:00
samples.dsw Add missing samples to samples.dsw. 2010-05-27 17:07:30 +00:00