Commit Graph

12127 Commits

Author SHA1 Message Date
Vadim Zeitlin
69367c566e move the grid-specific workaround for scrollbar hysteresis to wxScrollHelper itself, the scrollbars now should not only appear but also disappear correctly during resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 22:44:08 +00:00
Vadim Zeitlin
801a964104 no changes, just removed the unnecessary wxGrid:: qualifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 21:28:44 +00:00
Jaakko Salli
f379342915 Have support for both char* and wchar_t* in wxPGPropArg. Moved wxPGPropArgCls member function to propgridiface.cpp which is more logical location since class is in propgridiface.h. Added char* test cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 16:48:20 +00:00
Jaakko Salli
8f18b25245 Fixed bug: Setting property value string did not update children of composed parent (ported from wxPG SVN trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 16:20:48 +00:00
Jaakko Salli
258ccb95f5 Updated documentation to acknowledge the fact that properties can have identical labels, and that they must have non-empty name that is unique under parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:53:21 +00:00
Jaakko Salli
d665918bd2 wxVariant list used to translate between list of property child values and composite value string now maps values by names instead of labels. Naturally this means properties can no longer have empty name (this change allows using identical labels under same parent property. Ported from wxpropgrid SVN trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:14:32 +00:00
Jaakko Salli
4a84bb72a4 Removed dllimpexp declaration from std::vector typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 08:46:02 +00:00
Vadim Zeitlin
35c2aa4f19 added wxFileName::GetVolumeString() (#9950)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 01:18:05 +00:00
Vadim Zeitlin
4db307e110 build fixes for wxUSE_ON_FATAL_EXCEPTION==0 (#9937)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:26:29 +00:00
Vadim Zeitlin
99774d589d check the item index inside Item() itself instead of checking it inside some callers of this function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:04:23 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Stefan Csomor
2f2635175a 32/64 bit universal builds support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-10 20:40:56 +00:00
Stefan Csomor
690981ec84 updating fixed config data for xcode builds for gcc 4.0 and 10.4 sdk as minimum environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-10 14:58:49 +00:00
Benjamin Williams
0766faa34e fix aui sample breakage; added some accessor methods to wxAuiToolBarItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-08 09:56:49 +00:00
Kevin Ollivier
18fc421b1f Remove a couple duplicate feature checks, and check for defines before setting them to avoid redefinition warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 23:35:39 +00:00
Stefan Csomor
c1158f7b91 avoiding crashes on osx during app shutdown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 20:36:41 +00:00
Stefan Csomor
6da991dbf0 changes for command line builds of osx-cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 14:44:54 +00:00
Václav Slavík
df36fb0e72 whatever it is, wxXmlResource::GetFirstRoot() isn't implemented - removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 09:15:20 +00:00
Vadim Zeitlin
24f86c43c4 implement Empty() using clear() instead of Truncate(0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 22:19:42 +00:00
Vadim Zeitlin
e810df36b3 access TLS cache variable directly and not via a helper function when using compiler with native TLS support to work around an apparent bug in g++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 22:12:04 +00:00
Stefan Csomor
e630b0f024 RGBColor is part of ApplicationServices also under Cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 16:32:00 +00:00
Stefan Csomor
935e6c7dc1 defines reordered, support for non-precomp cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 16:30:42 +00:00
Stefan Csomor
bfa29337d4 adapting to new platform constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 16:29:11 +00:00
Stefan Csomor
54f254a63d adapting to new msgdlg class hierarchy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 19:50:13 +00:00
Stefan Csomor
0b6a49c21f forward define for non precomp build, switching preproc constants for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 19:02:51 +00:00
Vadim Zeitlin
298c25c3a5 allow passing literal strings and results of c_str() to SetXXXLabels() methods too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 18:29:06 +00:00
Stefan Csomor
21a9d32634 forward define for non precomp build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 18:03:42 +00:00
Vadim Zeitlin
e08931c05a make it possible to use stock ids for custom message box labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 18:02:49 +00:00
Vadim Zeitlin
9276358892 added support for custom labels in wxMessageBox for wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 17:27:20 +00:00
Stefan Csomor
1e181c7a2c simplify native textcontrol creations, adding search control for cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 14:41:11 +00:00
Vadim Zeitlin
23e00c551b implement support for custom button labels in wxMessageBox under MSW; refactor the code to reuse the existing setters in Mac ports for MSW as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 14:39:36 +00:00