Don't crash in wxControl::GetLabel when getting the label
authorMattia Barbon <mbarbon@cpan.org>
Thu, 28 Aug 2003 20:39:37 +0000 (20:39 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 28 Aug 2003 20:39:37 +0000 (20:39 +0000)
commit887935485423bba2e7eb2b63e933b055af3670da
tree9c546c61c4c14abe52128bfe2053ac1a96090e81
parent93c83507aaee06567f754b976fbc16b813a30b9c
  Don't crash in wxControl::GetLabel when getting the label
fails (perhaps because the widget is not realized?).
  Correct wxRTTI information for wxFrame: it derives from
wxTopLevelWindow, not wxWindow.
  Don't try setting Widget size to 0, because it will fail: set
it to 1 instead which is exactly as sensible, but does not crash.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/motif/control.cpp
src/motif/frame.cpp
src/motif/window.cpp