Vadim Zeitlin
|
e767076e80
|
just return false instead of crashing if the document contents can't be converted to the target encoding (#10064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-10 16:13:53 +00:00 |
|
Vadim Zeitlin
|
ddf01bdb96
|
don't crash when streaming out a wxString into an std::ostream, just set the failbit instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-10 16:11:40 +00:00 |
|
Paul Cornett
|
830910cc28
|
use correct background color when drawing borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-10 15:51:09 +00:00 |
|
Jaakko Salli
|
703ee9f5ec
|
GetPendingEditedValue() -> GetUncommittedPropertyValue() (more consistent API naming. Eg. there is also CommitChangesFromEditor())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-10 15:22:08 +00:00 |
|
Robert Roebling
|
236a34ef3e
|
Fix crash again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-10 10:02:35 +00:00 |
|
Robert Roebling
|
d7cda9b290
|
Fix crash with NULL pointer dereferencing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-10 07:36:36 +00:00 |
|
Robert Roebling
|
2571a33fd3
|
implement GetSizeAvailableForScrollTarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-09 19:18:28 +00:00 |
|
Robert Roebling
|
e9a7fde568
|
Use g_signal_connect_after for wxRadioButton as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-09 18:12:41 +00:00 |
|
Robert Roebling
|
f938aa996b
|
Blind guess fix for wxRB_SINGLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-09 18:09:11 +00:00 |
|
Francesco Montorsi
|
046fce4786
|
fixed a bug caused by passing a wxChar[] buffer to a function taking a wxString; the buffer was automatically converted but since it was not NULL-terminated, a crash resulted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-09 17:00:32 +00:00 |
|
Robert Roebling
|
0e50223f87
|
Forgot to set GtkIter stamp in Select() and friends
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-08 18:46:46 +00:00 |
|
Jaakko Salli
|
9b5bafcf38
|
Removed dysfunctional wxPGPropery::PrepareValueForDialogEditing(); Replaced its functionality with wxPropertyGrid::GetPendingEditedValue(); Added wxPropertyGrid::PerformValidation() flags so it can be called in generic context.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-08 18:15:10 +00:00 |
|
Stefan Neis
|
483b6cf0d4
|
Fixed header file conflict.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-08 17:53:03 +00:00 |
|
Vadim Zeitlin
|
f57258724a
|
added wxDC::GetHDC() for backwards compatibility with the existing wxMSW code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-08 16:09:09 +00:00 |
|
Stefan Csomor
|
9044b125fd
|
focus propagation, fixes #10047
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-08 14:35:32 +00:00 |
|
Stefan Neis
|
0f626acb66
|
Added missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-08 12:13:05 +00:00 |
|
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
|
451673f7c9
|
GTK+ version guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-07 08:05:07 +00:00 |
|
Robert Roebling
|
62d934aab8
|
Don't set HINT_COMBO as wxPopupWindow is used for different windows as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-07 08:02:45 +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 |
|
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
|
bf9ce2abdf
|
removed the strange __WXMSW__ test in AddFile(bitmap) -- why should this function silently do nothing in this case?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 13:26:27 +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
|
cb564879c1
|
no changes, just some minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 13:09:20 +00:00 |
|
Robert Roebling
|
3591d10f4f
|
Make keyboard input to controls in a wxPopupWindow work in at least some cases, embedded wxListCtrl still doesn't work, wxVListBox does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 12:13:24 +00:00 |
|
Robert Roebling
|
5e53c1c21e
|
Wrong order of calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 11:01:17 +00:00 |
|
Francesco Montorsi
|
8cc0450796
|
better error messages, when possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 11:00:50 +00:00 |
|
Stefan Csomor
|
3b211af168
|
switching away from angle brackets includes, deactivating OSX workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-06 10:41:40 +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 |
|
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
|
577972abb9
|
Fix RCS-ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-05 17:57:49 +00:00 |
|
Jaakko Salli
|
60f7ea2237
|
Better use of Connect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-05 17:40:53 +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 |
|
Jaakko Salli
|
95645cce6e
|
Have GetDescBoxHeight() return value consistent with one given to SetDescBoxHeight(); In SetDescBoxHeight(), do not call RecalculatePositions() unless box height really changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-05 09:47:16 +00:00 |
|
Jaakko Salli
|
c3e57ac4ac
|
Call RecreateControls() if relevant window style flag was toggled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-05 09:45:10 +00:00 |
|
Jaakko Salli
|
72eb964f27
|
GetEditableState() with DescBoxState flag could assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-05 09:43:51 +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 |
|
Robert Roebling
|
cfb9736175
|
Also use F4 shortcut for textfield + button combination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-04 19:34:53 +00:00 |
|
Jaakko Salli
|
d85423250a
|
Fixed use of erase() in wxPGChoices::RemoveAt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-04 13:22:13 +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 |
|
Robert Roebling
|
3b354b9672
|
Also use F4 as short-cut for opening pop-up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-04 09:14:14 +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 |
|