Commit Graph

12272 Commits

Author SHA1 Message Date
Jaakko Salli
ff1e1474ed Removed SetPropertiesFlag() (high-level function using 'undocumented' wxPGProperty flags, IIRC was mostly used as poor-man's SetEditableState() and possibly for internal use until very recently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:35:06 +00:00
Jaakko Salli
d61d8cffa9 Eliminated last property generation macros from props.h (colour property gen ones, now use subclassing facilities present in wx(System)ColourProperty)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:28:05 +00:00
Jaakko Salli
3a89adc1f0 Removed wxLongStringProperty derived property creator macros (just subclass and implement OnButtonClick()); Partially fixed wxPGProperty::PrepareValueForDialogEditing()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 16:56:43 +00:00
Robert Roebling
357d2b88cb Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 08:01:34 +00:00
Stefan Csomor
4fcb208a4f porting dcscreen blit from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 19:48:52 +00:00
Jaakko Salli
52cefafe7e Minimize use of editor class macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 16:09:36 +00:00
Jaakko Salli
5a45dd6fd9 When registering editor, try wxRTTI class name in additon to result of wxPGEditor::GetName(). Allows creating custom editors without needing to implement GetName().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:48:27 +00:00
Jaakko Salli
c26873c8ef Remove use of wxPG_EDITOR macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:38:30 +00:00
Jaakko Salli
75b6c4ce92 Removed GetExpandedProperties() (used to act as poor man's GetEditableState())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:24:05 +00:00
Jaakko Salli
ba9ed9d0c6 Removed wxPropertyGridInterface::ClearPropertyValue() (use SetPropertyValue(defaultValue) instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:10:00 +00:00
Vadim Zeitlin
fcc65883db implemented wxMemoryFSHandler::FindFirst/Next()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 13:55:39 +00:00
Vadim Zeitlin
8c9d760210 made m_Hash object, not a pointer and moved hash declaration into the header as it's needed by the upcoming FindFirst/Next() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 13:37:04 +00:00
Vadim Zeitlin
0eb2e51048 rewrite using type safe wxHashMap instead of wxObject-based wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 13:25:04 +00:00
Vadim Zeitlin
2780d31b74 remove erase(const_iterator) overload, it should have never existed as const_iterators can't be used to modify the container
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 13:24:25 +00:00
Stefan Csomor
f55d9f749b moving more things to common API between carbon and cocoa, adapting WidthDefault etc, removing dependencies from wxClientDC from text measuring ops on wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 10:35:36 +00:00
Vadim Zeitlin
054f177b00 set svn properties correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 09:29:12 +00:00
Vadim Zeitlin
9c498e84bf correct the example/documentation of GetDocumentsDir() return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 22:56:23 +00:00
Jaakko Salli
ea5af9c535 Fix RCS-IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 18:03:43 +00:00
Jaakko Salli
858ad6708d Need to call wxVScrolledWindow::UpdateScrollbar() in wxVListBox EVT_SIZE handler. Otherwise resizing wxVListBox does not update visible items count.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 13:56:40 +00:00
Vadim Zeitlin
9f7aee0198 added the possibility to draw grid lines across the entire window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 23:23:01 +00:00
Francesco Montorsi
c6cf894ae2 interface revisions of ta*h te*h headers; grouped wxTextAttr #defines into enums to make it easier to document them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 11:01:50 +00:00
Jaakko Salli
6280517046 Added Description Box Height to saveable/restoreable editable state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 10:59:06 +00:00
Robert Roebling
a5d567622f Removed wxNavigationKey code, new keyboard navigation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 09:28:31 +00:00
Vadim Zeitlin
7802da36fa don't duplicate base class m_acceleratorTable as m_accelTable in wxMenuBar, this is not only unnecessary but also doesn't allow using GetAcceleratorTable() to retrieve the menu bar accelerators (#9654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 22:15:40 +00:00
Jaakko Salli
b2c36e3549 Explicitly call wxObject ctor in wxColourPropertyValue ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 17:46:01 +00:00
Jaakko Salli
9e6bebdcac Tweaked wxPGProperty::StringToValue() and IntToValue() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 17:11:00 +00:00
Jaakko Salli
7adf8bf391 Remove wxPGClipperWindow, use wxBORDER_NONE instead of wxNO_BORDER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:23:00 +00:00
Jouk Jansen
0d59e2639d solving missing definitions in include/wx/x11/cursor.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 07:42:19 +00:00
Jaakko Salli
1766bf3453 SetButtonShortcut() merged with action system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 16:02:20 +00:00
Jaakko Salli
5ecd2ba500 Updated docs, removed SetPropertyModifiedStatus() (use wxPGProperty::SetModifiedStatus() instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 15:47:36 +00:00
Jaakko Salli
89b4415803 Moved ClearModifiedStatus() to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 15:36:24 +00:00
Jaakko Salli
d4cd6b3e0e Added missing propgrid related lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 14:37:53 +00:00
Václav Slavík
033508e1b1 get rid of public constants for various XRC defaults, there's no need for them outside of XRC loader
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 19:54:57 +00:00
Jaakko Salli
fe6ee7ec10 Use wxPendingDelete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:43:06 +00:00
Vadim Zeitlin
b54129836c add a more readable wrapper for CreateDocument(wxEmptyString, wxDOC_NEW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:04:43 +00:00
Jaakko Salli
0d4884cbf3 Unfocus text editor when enter is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 16:24:21 +00:00
Jaakko Salli
d8c74d044b Use m_children as it were std::vector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 15:13:00 +00:00
Benjamin Williams
7bce84396e applied patch from ticket 10015; wxToolBar compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 10:42:50 +00:00
Václav Slavík
cf78bdcb68 added wxTaskBarIcon::IsAvailable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 20:54:02 +00:00
Jaakko Salli
f7a094e1af Converted various wxArrayPtrVoids to wxVectors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 17:23:27 +00:00
Jaakko Salli
7eaed395dd Fixed Connect() use sample case in CreateControls() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:50:31 +00:00
Jaakko Salli
28fb19ef29 Try to make SetupChildEventHandling() more foolproof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:33:43 +00:00
Jaakko Salli
47e343c6bf Added missing dllimpexp declaration, added missing GetFailureBehavior() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 15:36:52 +00:00
Robert Roebling
0ca422ef4c Move body of SetFocusOnCanvas to .cpp file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 07:15:40 +00:00
Jaakko Salli
a6f2417d81 SetPropertyValue(prop, wxChar*) -> (prop, char*) and (prop, wxchar_t*)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 17:04:38 +00:00
Jaakko Salli
020b004113 Moved wxPropertyGrid::SetPropertyName() to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 17:01:04 +00:00
Jaakko Salli
704ceca8d2 Removed wxPG_EX_LEGACY_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:52:57 +00:00
Jaakko Salli
9891e165c5 Added missing wxPGValidationInfo::SetFailureMessage() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:34:07 +00:00
Jaakko Salli
458917e8de Removed wxPropertyGridEvent::HasProperty() (use GetProperty() != NULL instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:31:27 +00:00
Jaakko Salli
2a8312bced Make wxPGValidationInfo class instead of struct, re-document it (used at least by derived wxPGProperty::ValidateValue())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:23:38 +00:00