Commit Graph

45324 Commits

Author SHA1 Message Date
Vadim Zeitlin
6bce2ad919 must include typeinfo before using typeid()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:03:29 +00:00
Vadim Zeitlin
cac09ce8b7 cache the item text size to optimize tree layout/painting (#9956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 21:28:57 +00:00
Vadim Zeitlin
8239070ba9 no real changes, just some reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:55:34 +00:00
Jaakko Salli
f9189014b7 wxPropertyGrid::DoPropertyChanged() incorrectly passed raw m_wndEditor pointer to UpdateControl(). Now editor pointer is acquired via GetEditorControl(), as appropriate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:34:25 +00:00
Jaakko Salli
23b4f32040 wxPropertyGrid member m_visPropArray removed, now always recreated from scratch in DoDrawItems()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:14:20 +00:00
Robert Roebling
d27f4c7bcb Fix crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 20:02:59 +00:00
Jaakko Salli
30595b81f2 Cleaned up wxPropertyGrid::SetCurrentCategory()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 19:43:44 +00:00
Jaakko Salli
18b5bcb067 Needed to convert string variable's type from wxChar* to wxString because result of wxGetTranslation was assigned to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 19:35:52 +00:00
Jaakko Salli
a349c43322 Fixed warnings caused by docstrings in %pythoncode section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 19:18:59 +00:00
Robert Roebling
c83576039c include <typeinfo> in all files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-13 16:29:29 +00:00
Vadim Zeitlin
6a3a64f6ff must include typeinfo before using typeid()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 22:14:46 +00:00
Vadim Zeitlin
ef2862569e must include typeinfo before using typeid()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 21:22:27 +00:00
Vadim Zeitlin
fbfe2d4e7c PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 21:19:52 +00:00
Vadim Zeitlin
1c4293cb91 added wxPropertyGrid from Jaakko Salli (#9934)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00
Stefan Csomor
2bed17c862 implementing changes in toolbartool directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 19:38:27 +00:00
Stefan Csomor
01548e7c02 CoreText fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 18:36:08 +00:00
Stefan Csomor
f4cbd74e8c CoreText fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 18:35:16 +00:00
Stefan Csomor
6cc970f332 missin quote
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 18:30:20 +00:00
Vadim Zeitlin
cc5e20f838 STL build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 15:47:06 +00:00
Vadim Zeitlin
a3ac93e3ac return true from IsBeingDeleted() if any of the parent windows is marked for destruction too (see #9867)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 14:09:30 +00:00
Vadim Zeitlin
42b5841f5a add grid category and mark all grid-related classes as belonging to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 13:09:03 +00:00
Vadim Zeitlin
5d984f5d97 fix the event type in EVT_GRID_[CMD_]COL_MOVE declaration: this event handler receives wxGridEvent and not wxGridSizeEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 12:49:11 +00:00
Stefan Csomor
fe21801d4a making state changing calls on tool virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 09:50:15 +00:00
Jouk Jansen
ad237a73a8 Update setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 08:48:16 +00:00
Vadim Zeitlin
76a10a0dac fix crash under MSW due to constructing a static wxDDEClient instance (this arguably should work but currently doesn't because of use of (yet uninitialized) wxDDEClientObjects in wxDDEClient ctor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 01:36:09 +00:00
Vadim Zeitlin
24689293df add wxCANCEL_DEFAULT support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 00:06:42 +00:00
Vadim Zeitlin
72513c369e added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now); also tightened up the style checks in wxMessageDialog::SetMessageDialogStyle() (argh, another forgotten file, should have been part of r55561)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:41:49 +00:00
Vadim Zeitlin
f0afc953c9 test wxCANCEL_DEFAULT flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:40:15 +00:00
Vadim Zeitlin
f45d6ade08 added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now); also tightened up the style checks in wxMessageDialog::SetMessageDialogStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:37:35 +00:00
Jouk Jansen
c9b6cebdab OpenVMS chokes on external templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 20:50:12 +00:00
Stefan Csomor
021db427c3 adding missing y axis flip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 18:55:45 +00:00
Stefan Csomor
5da125c794 adding min and max size support for resizing events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 17:02:52 +00:00
Stefan Csomor
e0e2cbbe94 fixes #9951
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 16:32:03 +00:00
Stefan Csomor
f71d8b3de0 fix bugs in the last changes to min and max size handling, fixes #9947
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 16:26:47 +00:00
Stefan Csomor
ffa9db0d2a adding new toolkits for osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 14:14:21 +00:00
Vadim Zeitlin
5d81550097 made wxLogGui more flexible and documented it and added example of customizing it to the dialogs sample (now with the docs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 14:03:48 +00:00
Vadim Zeitlin
fe26031e26 added braces to suppress g++ 4.3 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 14:00:33 +00:00
Vadim Zeitlin
9ad2fe62d1 made wxLogGui more flexible and documented it and added example of customizing it to the dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:58:54 +00:00
Vadim Zeitlin
b2794028de added swap() for the other arrays too (and now committing the right files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:52:48 +00:00
Vadim Zeitlin
ff2201cc74 added swap() for the other arrays too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:51:41 +00:00
Vadim Zeitlin
9127686895 added wxArrayString::swap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:35:32 +00:00
Stefan Csomor
1aac44b9da adding new toolkits for osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 12:30:18 +00:00
Vadim Zeitlin
b3ca7c855f don't use wxStrings in a statically initialized array of structs, VC6 doesn't like it (re-closes #9492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 11:22:58 +00:00
Vadim Zeitlin
d30ef76952 get rid of __WXCOCOA__ check in common CreateLogTarget(), the right way to do this is to override wxUSE_LOG_DIALOG option in wxCocoa-specific chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 11:20:33 +00:00
Vadim Zeitlin
13c7fb28ff partially revert 55488: don't use message box with copy button as it doesn't behave correctly unfortunately (Esc doesn't work, copying the text unexpectedly closes the dialog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 11:16:35 +00:00
Vadim Zeitlin
4b02d42e37 replace the static control in wxMessageDialog with an edit control with a vertical scrollbar if the message box is too big to fit on the screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 10:39:49 +00:00
Stefan Csomor
6e42b980d9 fixing compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 07:40:58 +00:00
Jouk Jansen
2cb8531cc2 update OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 07:09:05 +00:00
Jouk Jansen
81d6a50747 rename variable which was redefined inside a loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 06:53:02 +00:00
Stefan Csomor
e317bd3f10 solving osx problems (default inlines-hidden) by explicitely exporting the involved methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 06:46:23 +00:00