Vadim Zeitlin
ce63f2e9eb
Make hack for button creation in wxOSX more robust.
...
Don't crash when creating a plain wxButton with wxBU_NOTEXT style. This
happened because we skipped creating the peer (real implementation) in this
case entirely on the assumption that we were creating a wxBitmapButton, but
this is not necessarily the case. So now test that the creation of the peer is
really disabled before skipping it (this required adding ShouldCreatePeer()
accessor).
Merging wxWidgetImpl::CreateButton() and CreateBitmapButton() (and the same
thing for toggle buttons) would still be a better solution but while it's
trivial to do for Cocoa, it isn't for Carbon. And we can't use a single
function for Cocoa but different functions for Carbon, so for now just
continue to use this hack.
Closes #13622 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 23:54:37 +00:00
..
2012-10-29 14:50:42 +00:00
2012-09-13 17:15:00 +00:00
2012-11-01 17:15:22 +00:00
2012-11-04 17:39:55 +00:00
2012-09-20 12:33:05 +00:00
2012-10-07 22:38:56 +00:00
2012-10-24 00:17:15 +00:00
2012-06-17 21:34:47 +00:00
2012-11-01 17:15:22 +00:00
2012-09-13 17:15:00 +00:00
2012-11-04 23:54:37 +00:00
2012-11-01 17:15:15 +00:00
2012-10-04 23:23:41 +00:00
2012-09-27 22:40:46 +00:00
2012-10-27 03:15:08 +00:00
2012-06-17 21:34:47 +00:00
2012-10-16 14:02:40 +00:00
2012-05-07 13:12:20 +00:00
2012-10-28 13:31:50 +00:00
2012-04-16 12:12:19 +00:00
2012-05-25 09:48:09 +00:00
2012-06-20 17:54:53 +00:00
2012-08-30 20:19:57 +00:00
2012-10-04 15:55:06 +00:00
2012-09-13 17:15:25 +00:00
2012-09-13 17:14:14 +00:00
2012-08-30 20:21:29 +00:00
2012-06-30 23:41:15 +00:00
2012-09-15 23:20:23 +00:00
2012-06-17 21:34:47 +00:00
2012-11-01 17:15:28 +00:00
2012-05-15 10:03:57 +00:00
2012-09-09 13:35:57 +00:00
2012-10-04 23:23:18 +00:00
2012-07-20 11:55:18 +00:00
2012-10-13 22:52:12 +00:00
2012-11-01 18:25:07 +00:00
2012-06-30 16:33:23 +00:00
2012-05-30 19:21:42 +00:00
2012-07-20 11:55:18 +00:00
2012-10-24 14:02:30 +00:00
2012-10-14 14:55:32 +00:00
2012-06-08 19:26:19 +00:00
2012-07-28 19:31:03 +00:00
2012-07-28 19:31:03 +00:00
2012-10-24 23:40:41 +00:00
2012-06-14 15:07:14 +00:00
2012-09-17 11:07:30 +00:00
2012-10-23 23:57:32 +00:00
2012-10-23 13:51:06 +00:00
2012-05-26 12:29:54 +00:00
2012-09-18 22:45:38 +00:00
2012-10-24 00:17:15 +00:00
2012-07-24 20:45:43 +00:00
2012-07-23 15:03:42 +00:00
2012-10-17 15:45:20 +00:00
2012-09-30 22:28:08 +00:00
2012-10-25 22:30:43 +00:00
2012-09-13 17:14:37 +00:00
2012-04-16 13:53:49 +00:00
2012-09-15 23:16:46 +00:00
2012-06-01 11:01:46 +00:00
2012-09-09 13:35:57 +00:00
2012-09-15 23:17:12 +00:00
2012-10-15 01:08:37 +00:00
2012-09-13 17:15:25 +00:00
2012-08-03 12:50:03 +00:00
2012-08-03 13:05:11 +00:00
2012-06-01 11:01:34 +00:00
2012-08-06 11:06:45 +00:00
2012-06-30 20:59:46 +00:00
2012-06-30 16:33:23 +00:00
2012-06-30 16:33:28 +00:00
2012-07-29 22:08:09 +00:00
2012-10-07 22:42:27 +00:00
2012-08-15 11:34:46 +00:00
2012-09-01 22:38:40 +00:00
2012-05-18 10:34:32 +00:00
2012-09-13 17:16:11 +00:00
2012-07-10 23:52:14 +00:00
2012-07-27 15:36:54 +00:00
2012-06-30 23:41:15 +00:00
2012-04-12 05:33:29 +00:00
2012-09-25 13:08:37 +00:00
2012-08-09 15:52:15 +00:00
2012-10-04 23:24:28 +00:00
2012-06-17 21:34:47 +00:00
2012-08-30 20:21:54 +00:00
2012-09-08 21:48:57 +00:00
2012-10-31 00:17:17 +00:00
2012-08-30 20:24:38 +00:00
2012-10-13 22:51:50 +00:00
2012-04-16 13:53:45 +00:00
2012-04-20 15:34:24 +00:00
2012-11-01 18:25:00 +00:00
2012-09-17 11:07:30 +00:00
2012-07-20 11:55:18 +00:00
2012-09-15 23:18:23 +00:00
2012-07-23 15:03:42 +00:00
2012-06-17 21:34:47 +00:00
2012-05-15 10:03:57 +00:00
2012-09-08 08:58:38 +00:00
2012-05-15 10:03:57 +00:00
2012-10-07 22:42:02 +00:00
2012-06-07 04:43:15 +00:00
2012-07-31 16:49:36 +00:00
2012-09-13 17:13:28 +00:00
2012-07-30 19:16:30 +00:00
2012-10-24 14:01:44 +00:00
2012-07-10 23:51:44 +00:00
2012-05-19 06:33:28 +00:00
2012-08-28 17:13:13 +00:00
2012-09-17 23:35:26 +00:00
2012-05-09 14:24:37 +00:00
2012-05-18 11:09:07 +00:00
2012-06-01 11:01:24 +00:00
2012-06-01 11:01:24 +00:00
2012-05-18 10:35:08 +00:00