]> git.saurik.com Git - wxWidgets.git/commit
Fix assert in webview sample when viewing pages without a title.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jul 2012 15:03:09 +0000 (15:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jul 2012 15:03:09 +0000 (15:03 +0000)
commit14a0b47dffe3faf3a921719df5eec7c2ec260421
treef762ef90437e0a1b74b50ea4f650d84d0bec998f
parentc3980646f62442c5c620185ab16b035baff78ba2
Fix assert in webview sample when viewing pages without a title.

Trying to append a menu item with empty label resulted in an assert (at least
under wxGTK but probably elsewhere too), and in any case wasn't very useful,
so use "(untitled)" instead in this case.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/webview/webview.cpp