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
Jaakko Salli
104837f26e
Fixed bug: wxPG_EX_AUTO_UNSPECIFIED_VALUES was basically always on
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 17:39:17 +00:00
Jaakko Salli
0c931dd4eb
Increase properties' tolerance for wxNullVariant as old value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 17:30:10 +00:00
Jaakko Salli
36a403e0d5
Must still delete m_cells items by explicit type (since, after all, it was not yet converted to wxVector from wxArrayPtrVoid)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 16:29:34 +00:00
Vadim Zeitlin
e5bb501b98
return false if the file passed to Load() doesn't exist or is an archive without XRC files inside
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:51:25 +00:00
Jaakko Salli
14c140606b
Minor additional clipper window related code and comment tweak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:31:23 +00:00
Vadim Zeitlin
e9d2b75fb5
fix off by one byg in ReserveId() ( closes #10020 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:30:41 +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
Jaakko Salli
63f62e764c
Further fix m_children use with wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:08:48 +00:00
Vadim Zeitlin
6b18f6b7db
no changes, just removed commented out code accidentally checked in as part of r37393
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 12:13:21 +00:00
Jouk Jansen
8cf694d4ea
adding variable initialization to 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 11:42:02 +00:00
Vadim Zeitlin
bb25a741c2
honour wx{CLOSE,MINIMIZE,MAXIMIZE}_BOX even for borderless windows; also always allow moving the windows as we don't have a special style to enable/disable this ( #10029 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 23:44:51 +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
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
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
c80f436e83
Recognize lack of wxTAB_TRAVERSAL style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:56:04 +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
Jaakko Salli
474b0ba488
Added useful comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:20:11 +00:00
Jaakko Salli
0fd5c4019c
Fixed wxPG sourceforge tracker bug #2138858 , applied other appropriate uses of GetEditorControl() as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:11:10 +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
Julian Smart
cfceb4a8e0
Only ignore Alt down on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 14:55:54 +00:00
Julian Smart
91babb9d5c
Now accepts keys that are generated with Alt
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 14:44:55 +00:00
Vadim Zeitlin
ec07419336
don't distribute negative extra space among box sizer items, this isn't useful as it results in overlapping windows ( #10008 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 13:57:53 +00:00
Václav Slavík
baa637de7d
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 11:29:11 +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
Stefan Csomor
81e0b3d978
copying sizes upon construction, HDC doesn't deliver these values reliably for things like memory dcs, fixes #10012
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 09:38:33 +00:00
Stefan Csomor
4fff14c955
fixing release handling of dc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 08:09:45 +00:00
Jouk Jansen
e98c72eccb
wxMOTIF ?: wxcursor:wxcursor overload fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 07:18:14 +00:00
Václav Slavík
61f6ba079c
don't cache tray protocol availability result in wxTaskBarIconAreaBase::IsProtocolSupported(), it may change at runtime
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 20:55:52 +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
Stefan Csomor
b15f9375cb
supporting NO_BORDER for Cocoa as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 19:28:06 +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
6d24f9a939
Fix Connect() calls in SetupChildEventHandling()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:46:36 +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
Václav Slavík
623114052c
wxToolBar XRC handler should call SetupWindow() to handle standard window properties too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 14:36:55 +00:00
Stefan Csomor
24c7547c13
performance fix by Tim Kosse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 11:59:06 +00:00
Václav Slavík
1b5d7525c5
wxWizard XRC handler should call SetupWindow() to handle standard window properties
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 11:50:59 +00:00
Robert Roebling
7a8092229f
Make wxPGCanvas accept focus even with child windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 11:34:19 +00:00
Robert Roebling
1e6935a670
Add wxPGCanvas RTTI for debugging purpose
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 11:25:54 +00:00
Robert Roebling
07fff17b6a
wxGTK's wxTextCtrl's borders can be removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 11:12:11 +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
Václav Slavík
733b7d1eb3
wxART_MISSING_IMAGE is not a valid wxArtClient value and doesn't make sense here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 19:51:59 +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
c8074be06b
RegisterAdditionalEditors() to work even if no wxPropertyGrids created, in sample moved editor registration before first CreateGrid() call to prevent crash, removed wxPG_USE_WXMODULE support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:50:03 +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
Vadim Zeitlin
7929902d65
no real changes, just fixed all occurences of 'occurence' typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 12:10:58 +00:00
Vadim Zeitlin
c565abe1c5
fix After{First,Last}() to work for strings with non-ASCII characters in UTF-8 build and added unit tests for this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 12:08:44 +00:00
Julian Smart
8251c171de
Fix for deleting first word in the control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 18:02:23 +00:00
Václav Slavík
12ca55868c
wxGTK: Fixed printing to use fonts sizes adjustment consistent with wxMSW. In
...
particular, screen resolution no longer affects text size in printed output
when using wx's map-screen-to-paper approach to printing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 09:33:04 +00:00
Jaakko Salli
614fbbad61
wxPropertyGrid::RegisterEditorClass() now CHECK_MSG()s for duplicate editor names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:29:05 +00:00
Jaakko Salli
effb029c30
wxPropertyGridInterface docs cleanup and fixes, removed some rarely needed member functions with simple workarounds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:09:33 +00:00
Jaakko Salli
7a344f1be4
Fixed wxPGMultiButton (event handling, FinalizePosition() -> Finalize(), no longer using PG specific class macros in its sample), other editors.h interface fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 14:03:10 +00:00
Jaakko Salli
7ce66351b7
Fixed a warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 13:13:08 +00:00
Jaakko Salli
d9fb481c56
Fixed and clarified editor control event handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 18:20:17 +00:00
Vadim Zeitlin
3d9ecb8771
eliminate the hysteresis when scrollbars didn't disappear when the window was resized to be less than its virtual size and then resized back to be slightly greater than it in the native GTK version too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 17:36:35 +00:00
Vadim Zeitlin
b5f85206a9
fix ParseFormat("%d") to set the date it finds ( #10002 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 15:27:08 +00:00
Vadim Zeitlin
06936905a4
using CLSCTX_ALL fails with Microsoft Office applications, correct the last change to use CLSCTX_SERVER only (see #9868 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 15:18:16 +00:00
Vadim Zeitlin
caf587aaeb
don't give errors if SetLayeredWindowAttributes() is not available (as is the case under Win95)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 21:41:47 +00:00
Francesco Montorsi
cfaf8bd177
fix for non-PCH builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 18:36:16 +00:00
Francesco Montorsi
43e0946dcf
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 18:20:18 +00:00
Francesco Montorsi
0ef5b1dad1
provide backward-compat wxCursor(int) ctor; remove empty stubs of XBM ctor from all ports except gtk,motif; make all ports emit wxLogError on invalid bitmap types; implement wxCursor(const wxString&, ...) ctor on GTK (not tested yet)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:56:07 +00:00
Jaakko Salli
5a8009d2f1
Removed wxPropertyGridManager::GetChildrentCount() member functions - now use page->GetRoot()->GetChildCount() and such
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:23:54 +00:00
Jaakko Salli
9288df3401
AddPage(), InsertPage() now return page ptr instead of index
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:19:49 +00:00
Jaakko Salli
b96a14e334
Removed wxPGProperty:GetArrIndex() in favor of GetIndexInParent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:04:11 +00:00
Vadim Zeitlin
c09b7217f6
don't test for both stream.fail() and stream.bad() as the latter implies the former; also use operator!() instead of fail() to make it more clear what's going on
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:50:48 +00:00
Jaakko Salli
2399c87cce
Slightly better wxStockCursor usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:31:01 +00:00
Vadim Zeitlin
e58eaff761
specify the file name in IO errors messages; also make Do{Open,Save}Document() use the same logic flow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:27:22 +00:00
Jaakko Salli
1802a91dec
Fixed bug: Settings property attribute to wxNullVariant would cause GetAttribute() to fail (wxPG SourceForge bug #2128485 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:13:32 +00:00
Jaakko Salli
81d73efcc3
Fix wxCursor() ctor compilation by casting argument to wxStockCursor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:11:58 +00:00
Robin Dunn
fa70ec2b51
Consolidate old and new implementations of Get/SetSelection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:10:27 +00:00
Jaakko Salli
7de050ad3f
Fixed bug: wxPGProperty::OnEvent() was never called if primary editor window was NULL (as could be if limited editing was used)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 15:59:49 +00:00
Vadim Zeitlin
c4dbb95303
fix parsing of IP literals in URIs, added test for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 15:27:10 +00:00
Vadim Zeitlin
bd84061db3
removed hardcoded size of 66 bytes of PRINTDLG struct for mingw32, this breaks printing under Win64; a couple of minor style fixes but no real changes otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 14:00:15 +00:00
Francesco Montorsi
f4efd805a0
small build fixes for PCH-less builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 09:56:22 +00:00
Stefan Csomor
fc39cf7295
avoiding crash for pure modifier events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 06:37:09 +00:00
Robin Dunn
dd021ce2bd
More changes needed to fix problems resulting from unnecessary wxCursor changes :-(
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 05:00:52 +00:00
Kevin Ollivier
4954ee5032
Get wxMediaCtrl stub impl. going for OS X Cocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 00:02:52 +00:00
Kevin Ollivier
f53c4d3b88
Remove some wxCocoa stuff that isn't in OS X Cocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 00:01:59 +00:00
Kevin Ollivier
95710acb00
#ifdef Carbon-specific code to get stubbed DND support compiling for OS X Cocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:53:25 +00:00
Robin Dunn
e6ba38871f
Unicode-related compile fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:44:34 +00:00
Robin Dunn
544cd5ac17
Fix wxStockCursor realted compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:41:25 +00:00
Francesco Montorsi
6869b469c6
fix build errors deriving from making wxColourData members private
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 20:21:36 +00:00
Francesco Montorsi
d4f392ea20
use wxStockCursor (as documented and as already implemented in wxMotif) instead of a plain 'int'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 19:40:13 +00:00
Francesco Montorsi
d62c1e628d
changed wxColourData::GetCustomColour to const; there's no reason for it to be non-const; fixed wxColourData iface header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 17:57:18 +00:00
Vadim Zeitlin
d86901f9f4
return false, not true, from wxSingleInstanceChecker::IsAnotherRunning() if an error occurred while opening or reading the lock file ( #9986 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:47:41 +00:00
Vadim Zeitlin
7ce2fb7139
reverted r55167, see #9854
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:38:53 +00:00
Vadim Zeitlin
13139e9300
restore the original selection when the dropdown is cancelled even if it was -1; this fixes the problem of #9995 and the existing code didn't deal correctly with the problem of losing current text in the combobox when the dropdown was cancelled anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:33:06 +00:00
Stefan Csomor
fbd5416f60
supporting GetSize, fixes #9969
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 09:18:38 +00:00
Stefan Csomor
01a33e9670
fixing compiles under certain flags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 10:00:53 +00:00
Vadim Zeitlin
90815a4597
use wxGetDisplayPPI() instead of redoing it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:30:17 +00:00
Vadim Zeitlin
622f7a49ef
use factor of 10, not 100, to convert mm to cm after mm2inches was fixed in r55800
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:27:43 +00:00
Vadim Zeitlin
d43be80dab
use inches2mm instead of literal constant in wxGetDisplayPPI()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:26:11 +00:00
Vadim Zeitlin
8b2e0e6d19
position the insertion point to the start, not end, of the selection for compatibility with MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:15:35 +00:00
Vadim Zeitlin
b09b3048c9
don't crash if the grid is being deleted while a cell editor is still shown ( closes #9991 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:12:46 +00:00
Vadim Zeitlin
358e9f2f72
fix the event handling in presence of pushed event handlers broken by r55784 ( closes #9992 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 14:11:40 +00:00
Stefan Csomor
41b93cd7d7
using new API instead of 2.8 compat, fixes #9990
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 14:00:03 +00:00
Stefan Csomor
451a00f7d7
fixing typo, thanks to Angelo Mottola
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 13:19:14 +00:00
Stefan Csomor
9f8062a0e4
fixing override, fixes #9985 (second error)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 12:24:52 +00:00
Kevin Ollivier
01250f9b2c
Adding compiling (but not yet working) taskbar implementation for OS X Cocoa, mostly borrowed from wxCocoa. Also enabled HTML Help support as it seems this compiles fine now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:51:32 +00:00
Vadim Zeitlin
92089d00a1
use ProcessEventHere() instead of ProcessEvent() in TryValidator() to avoid passing the unhandled event to wxApp before it can be processed by this window itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:34:14 +00:00
Vadim Zeitlin
bba5e72ad3
hook the docview-specific customization of event handling logic at TryValidator() level instead of ProcessEvent(): this ensures that the events are not sent to wxApp before they're passed to all the handlers which might process them (before the events were passed to wxDocument and then immediately to wxApp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:33:11 +00:00
Vadim Zeitlin
25250d335f
extracted the part of ProcessEvent() which is repeated multiple times during the handling of a single event in the new ProcessEventHere() method; this ensures that wxApp::FilterEvent() is not called multiple times for the same event unnecessarily
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:08:28 +00:00
Stefan Csomor
e912ebe39f
fixing typo (lead to always floating layering for simple frames)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 20:04:04 +00:00
Jaakko Salli
af27647706
Fixed non-precompiled headers compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 19:58:19 +00:00
Stefan Csomor
f50491352a
fixing focus, fixes #9985
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 18:52:01 +00:00
Jaakko Salli
4b5d2be396
Revised #ifndef WX_PRECOMP headers, added missing #include wx/wxcrtvararg.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 17:06:44 +00:00
Jaakko Salli
a6162a3eaf
'wx(U)LongLong << variant' type safety improved (now works even if variant has plain long value). Added << operator and WXVARIANT template specialization for wx(U)LongLong_t as well. Changed WX_PG_DECLARE/IMPLEMENT_VARIANT_DATA so that classname << variant can be customized.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 16:54:22 +00:00
Jaakko Salli
472137baeb
Removed #include <typeinfo> (since C++ RTTI is no longer used)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 15:48:20 +00:00
Jaakko Salli
3c26d11be9
Moved SetPropertyAttributeAll() to wxPropertyGridInterface
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 15:42:08 +00:00
Vadim Zeitlin
74c80fe40b
don't waste time sending out update UI events for separators, they can't be updated anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 13:05:56 +00:00
Václav Slavík
f7b8e3d654
Get rid of gs_cairo; if wxGtkPrint* classes are used, Cairo is guaranteed to be available.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 11:38:31 +00:00
Václav Slavík
fc2bb342ec
route all Cairo calls in GTK printing code through gs_cairo (is this still needed?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 09:42:49 +00:00
Václav Slavík
40fcf546f6
added wxGetDisplayPPI() convenience function and wxPrintout::SetPPI*() overloads accepting single wxSize argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 09:35:49 +00:00
Václav Slavík
0c75b29e1e
progress message passed to wxDC::StartDoc() is not appropriate for PostScript document title
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 08:49:08 +00:00
Kevin Ollivier
78d990152a
Stubbed wxToolTip implementation to get code that uses it building.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 00:51:44 +00:00
Kevin Ollivier
cfea8e619a
Source changes needed to get MDI support compiling on OS X Cocoa, and a explicit cast to CGImageRef so the compiler doesn't complain.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:06:58 +00:00
Vadim Zeitlin
8b5f6d9d47
use a single wxKeyboardEvent parameter instead of 4 bools in tons of places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 00:09:28 +00:00
Vadim Zeitlin
8a3e536cd5
- Main change is the addition of wxGridSelectRowsOrColumns selection mode
...
(which is still probably buggy, wxGridSelection needs to be reviewed)
- Add XYToCell() overloads returning wxGridCellCoords (instead of modifying the
argument passed by reference -- where did this come from?) and document them.
- Added GoToCell() which does make the new current cell visible unlike
SetGridCursor() (which was documented as doing it, but wasn't)
- Changed SetCurrentCell() to only not change the cell if wxEVT_GRID_SELECT_CELL
it generates is vetoed, not just processed as this seems to make more sense
- Split jumbo (~400 lines) ProcessGridCellMouseEvent() function into chunks
- Add many more comments to make reading this code seem less like puzzle
solving for the next unfortunate soul to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 23:33:04 +00:00
Vadim Zeitlin
0e0977894a
make wxKeyEvent and wxMouseEvent derive from the same wxKeyboardState object (indirectly via wxMouseState in the case of the latter) to make Get/HasModifiers() available in wxMouseEvent as well while avoiding code duplication
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 18:41:41 +00:00
Jaakko Salli
d53f610c1c
Eliminated WX_PG_DECLARE/IMPLEMENT_DERIVED_PROPERTY_CLASS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:24:34 +00:00
Jaakko Salli
697c314b16
Eliminate a warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:10:17 +00:00
Jaakko Salli
939d936402
Moved wxPGChoices m_choices member from various property classes to base wxPGProperty. This allows any property to have choices without subclassing and therefore work with Choice and ComboBox editors. Also removed redundant choice manipulation functions from wxPropertyGridinterface (ie. now use ones in wxPGProperty).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 16:57:33 +00:00
Jaakko Salli
57306cd4fd
Do not insert client data if client data is not used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 16:43:40 +00:00
Vadim Zeitlin
2851cf2582
fix bug in SetInsertionPoint(-1) implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:17:51 +00:00
Vadim Zeitlin
a5125dc6ed
set selection point to end in wxTextEntryBase::SetValue() as this should be done in all ports and in all controls (fixes a unit test failure for wxComboBox)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:13:38 +00:00
Vadim Zeitlin
b7bfef3806
implement EnableTextChangedEvents() to make ChangeValue() work as expected, i.e. not generate any events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:08:02 +00:00
Vadim Zeitlin
778ce4329a
set buffer length after reading the file contents into it successfully (part of #9980 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 08:18:30 +00:00
Vadim Zeitlin
41f6f17d01
return 0 (meaning the file is not seekable, as the docs now explain) instead of 4KB for the files in sysfs under Linux ( #9965 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 08:11:44 +00:00
Vadim Zeitlin
f915b92e09
fix ownerdrawn button label drawing in ODS_NOACCEL case ( #3519 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 07:50:44 +00:00
Vadim Zeitlin
e2074948cb
cancel the current operation if mouse capture is lost ( #9979 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 07:38:24 +00:00
Vadim Zeitlin
2a02f84b94
ensure that the copies of the bitmap passed to wxMemoryDC ctor are not modified when this bitmap is
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 22:20:38 +00:00
Jaakko Salli
c29e714c37
Added separate SetFocusOnCanvas() function so that m_editorFocused will be more reliable updated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 17:34:22 +00:00
Jaakko Salli
e213da24b8
Try to improve focus problem situation by using more SetFocusIgnoringChildren() instead of SetFocus()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:36:32 +00:00
Jaakko Salli
f4bc1aa27c
wxUSE_PROPGRID is now recognized by source and header files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:00:00 +00:00
Jaakko Salli
d863389f77
Try to display '...' text on editor buttons more consistently on wxGTK. This is done by having minimum fixed width and by reducing size of used font.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 18:37:33 +00:00
Jaakko Salli
2bbd374923
Do not incorrectly interprete StringToValue() returning false to mean that it failed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 17:00:28 +00:00
Vadim Zeitlin
10a4531d1d
more grid folding: got rid of duplicate version of methods for finding the closest row/column edge, appending/inserting/deleting rows/columns, and moving cursor vertically/horizontally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 16:31:44 +00:00
Jaakko Salli
0372d42ea5
Eliminated C++ RTTI (typeid etc) use. Eliminated wxPGVariantData (default default value for new types is now Null variant). Re-created variantdata creator macros based on those found in variant.h. Using DECLARE/IMPLEMENT_VARIANT_OBJECT whenever possible.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 15:55:53 +00:00
Julian Smart
5cb0b827f1
Switched off some buggy optimisation that caused caret positioning/drawn text mismatch.
...
Fixed defragmentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 10:58:32 +00:00
Vadim Zeitlin
bec7026270
start of the great grid folding: introduce wxGridOperations class and use it to avoid duplicating the same code for rows and columns in a couple of methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 08:32:12 +00:00
Vadim Zeitlin
1372f8ccd0
use wxSwap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 16:13:06 +00:00
Julian Smart
6a8e61e0f6
Fixed Freeze problem that rendered control invisible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 14:43:29 +00:00
Vadim Zeitlin
6b992f7df1
implement CreateGrid() in terms of SetTable() instead of duplicating its code and confusing the issue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 14:09:26 +00:00
Vadim Zeitlin
ff72f628bb
more cleanup (removed some TODOs/FIXMEs); use native header drawing for the corner window too if it is enabled at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 14:06:28 +00:00
Vadim Zeitlin
02f3ee3d10
remove the now unused GetScroll[XY]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 13:36:28 +00:00
Vadim Zeitlin
d438037152
WinCE compilation fix: don't use FNERR_INVALIDFILENAME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 13:33:35 +00:00
Vadim Zeitlin
d8210cd1b3
remove automatic selection of the current row/column in row/column selection mode when the current cell is changed using the mouse, this is inconsitent with both cell selection mode and the keyboard behaviour in row/column selection mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 08:45:29 +00:00
Vadim Zeitlin
32b4e9ecd7
select current column when Ctrl-Space is pressed; the current row when Shift-Space is and everything on Shift-Ctrl-Space
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 08:25:47 +00:00
Jouk Jansen
b3c60740bb
Update OpenVMS compile support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 07:49:38 +00:00
Vadim Zeitlin
87c819f9c9
improve display of hints during column move ( #9884 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 00:33:39 +00:00
Vadim Zeitlin
7d277ac0f9
don't steal focus back to wxGrid when it hides an editor in the result of losing it ( #9844 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 00:28:15 +00:00
Vadim Zeitlin
1eab965913
fix drawing of the column move hint when the grid is scrolled to the right ( #9776 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 00:19:41 +00:00
Vadim Zeitlin
54181a3329
fix repaining of highlight for merged cells ( #9718 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 00:11:49 +00:00
Vadim Zeitlin
72b0a1deec
we don't need to round up the best/fitting grid size to a multiple of scroll units any more now that scrollbars behaviour is really correct
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 23:10:23 +00:00
Vadim Zeitlin
ace8d849d4
need to AdjustScrollbars() after changing the virtual size in CalcDimensions()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 23:06:36 +00:00
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
f1ff7df032
don't use SetScrollbars() as this forces the grid virtual size to always be the multiple of scroll line size which is simply wrong, the grid doesn't need to be that big ( #3800 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 21:09:31 +00:00
Vadim Zeitlin
4c81144ce3
no changes, just clarified a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 21:05:41 +00:00
Vadim Zeitlin
242ec2f7e9
really, really fix handling Enter in spin controls: only request it for the control if wxTE_PROCESS_ENTER is used to avoid breaking the use of Enter for the default item activation if it isn't; also document wxTE_PROCESS_ENTER style for wxSpinCtrl and add it to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:50:30 +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
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
dce297343e
Adapt to 'premature' events being sent from editor controls (fixes datepicker editor crash)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 09:47:58 +00:00
Jaakko Salli
ac5760384a
Fixed ambiguity with bitwise operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 09:02:26 +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
19abad600c
compilation fix after the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 01:09:42 +00:00
Vadim Zeitlin
f524b09335
don't give spurious error messages if the default browser doesn't provide DDE interface; also use SEE_MASK_FLAG_NO_UI to avoid shell error messages as we give them ourselves ( #9948 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:46:39 +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
c11bdf68b8
make ellipses drawn with transparent pen more wxGC/Cairo-like ( closes #9899 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 00:12:02 +00:00
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
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
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
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
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
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
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
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
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
Kevin Ollivier
928e7a7e1b
DoGetAsBitmap implementation for Cocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 05:40:35 +00:00
Kevin Ollivier
1a4e2d5b2f
A few checks for null pointers to avoid problems during app shutdown.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 05:35:10 +00:00
Kevin Ollivier
c6f2bde160
Stop crash/asserts caused when Clear() deletes the wxRegionRefData.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 05:07:06 +00:00
Stefan Csomor
569bb120c4
conditionals for carbon only osx code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-10 20:26:27 +00:00
Stefan Csomor
5bf565977f
64 bit fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-10 20:19:30 +00:00
Václav Slavík
ba5872682c
fixed typo in XRC error message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-10 16:09:33 +00:00
Václav Slavík
bfb7820116
wxDir/FilePickerCtrl's message should be translatable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-09 19:34:53 +00:00
Václav Slavík
3e7ea45c59
removed superfluous font size scaling in wxGtkPrinterDCImpl::SetFont()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-09 12:31:44 +00:00
Robert Roebling
375f364ef2
Test for reentrance into non-recursive wxMutex. If it happens, yield dead lock error, don't hang
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-08 08:00:03 +00:00
Stefan Csomor
29e32b7f9e
10.4 support for osx-cocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 20:10:32 +00:00
Stefan Csomor
05cf95ed0d
non-precomp fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 20:09:57 +00:00
Vadim Zeitlin
7f0d0111c4
added missing wx/dcclient.h header for PCH-less compilation, removed several other unnecessary ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 17:01:16 +00:00
Julian Smart
c80e8cbeab
Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 15:35:30 +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
c3485a4eef
fixed pagebreaks computation in tables ( #9935 , patch by D.J.Stauffer)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 10:22:53 +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
36eca86160
several small fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 16:33:18 +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
Vadim Zeitlin
150c8eb919
add wxGTK_CONVs to fix STL and ANSI builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 15:41:12 +00:00
Vadim Zeitlin
a3608593a3
add missing header for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 20:57:38 +00:00
Stefan Csomor
8e06b283ce
adapting to new msgdlg class hierarchy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 20:25:14 +00:00
Vadim Zeitlin
b6d2b072d8
allow copying text in the log dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 19:32:12 +00:00
Vadim Zeitlin
b6bcaaca0f
adjust the labels before centering the dialog as doing it can change the dialog size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 19:28:38 +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