Paul Cornett
813b6b3f88
correct wxString forward declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:44:22 +00:00
Paul Cornett
eb721ee29f
remove unneeded declarations missed in previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 02:41:27 +00:00
Włodzimierz Skiba
e36bdde2c2
wxUniv setup up to date (sync. before joining family of setups updated by script).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 18:44:07 +00:00
Paul Cornett
12a480c12d
gtk slider code simplification and better event determination
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:37 +00:00
Paul Cornett
49ca2a9920
using defined in a macro has undefined behavior
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:07 +00:00
Paul Cornett
7c98266873
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 15:12:56 +00:00
Paul Cornett
dbaf49a996
non-pch universal build fix: combo.h should not include combobox.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 05:21:20 +00:00
Paul Cornett
7f81dfa1a0
gtk spinctrl code simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 17:04:16 +00:00
Julian Smart
7c3840677c
Fixed tree book controller sizing by invalidating size after first
...
insertion, and also allowing full size calculation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:33:17 +00:00
Włodzimierz Skiba
85855db1c4
Missing #includes to allow wx/mac/carbon/tooltip.h be included first by user.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 06:45:59 +00:00
Paul Cornett
a01ed326cc
spinbutton code simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:08:25 +00:00
Robin Dunn
f460c29d59
Use correct DLL import/export specifier for multi-lib builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
Vadim Zeitlin
6ab4491a6d
added virtual dtor to wxMacListControl to silence gcc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:52:48 +00:00
Vadim Zeitlin
7c2b7791e5
fixed typo in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:51:25 +00:00
Vadim Zeitlin
725566cab4
suppress gcc printf format warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:42:17 +00:00
Vadim Zeitlin
54933611e8
added virtual dtor to wxMacListControl to silence gcc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:40:16 +00:00
Julian Smart
83eabba429
Fixes for compile breakage with no PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 10:42:03 +00:00
Vadim Zeitlin
ca7aeeb7d2
reset fd after closing it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:13:10 +00:00
Włodzimierz Skiba
25a9f2912d
Missing 'int' interface for wxPlatform.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:48:31 +00:00
Paul Cornett
add7cadd99
scrollbar handling simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:54:13 +00:00
Vadim Zeitlin
6964cbbac9
make sure that IsModified() returns false when it's called from EVT_TEXT handler invoked because of SetValue() call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 00:20:20 +00:00
Vadim Zeitlin
781acf8347
removed GTK-specific SetModified() as we already have a public MarkDirty() which does the same thing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:58:20 +00:00
Vadim Zeitlin
a57d600f1a
renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Mart Raudsepp
7e983dabef
Fix compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 13:43:35 +00:00
Vadim Zeitlin
c0f482800a
fix OpenWatcom warning (patch from Jaakko Salli)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 20:04:28 +00:00
Vadim Zeitlin
c98e80d98d
correct dll declaration (the classes in the header are part of adv library, not core)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 19:31:50 +00:00
Vadim Zeitlin
78c9181500
added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE) and implemented them for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 15:21:41 +00:00
Paul Cornett
dcc8cf5ae3
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 17:08:45 +00:00
Vadim Zeitlin
e16514bf08
test that wxUSE_DATAVIEWCTRL is defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 13:00:33 +00:00
Vadim Zeitlin
481e2766c2
test that wxUSE_OWNERDRAWNCOMBOBOX and wxUSE_COMBOCONTROL are defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 12:58:27 +00:00
Paul Cornett
8539643021
unused member variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:54:24 +00:00
Vadim Zeitlin
6d0ce565ff
fixes and missing files from the first wxComboControl patch (update of patch 1479938)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 16:18:19 +00:00
Vadim Zeitlin
65b977e5b3
mbstate-t related fix for CW8.3 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 14:26:48 +00:00
Vadim Zeitlin
899eacc753
removed spurious trailing commas in enums
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 11:11:07 +00:00
Vadim Zeitlin
28cbbe69df
added wxUSE_COMBOBCONTROL and wxUSE_OWNERDRAWNCOMBOBOX to wx/setup.h files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-09 00:04:35 +00:00
Vadim Zeitlin
21849f3a8e
added wxUSE_COMBOBCONTROL and wxUSE_OWNERDRAWNCOMBOBOX to wx/setup.h files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:46:37 +00:00
Vadim Zeitlin
a340b80d8a
wxComboControl and wxOwnerDrawnComboBox (patch 1479938)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:42:45 +00:00
Vadim Zeitlin
cd4e32afe7
added conversion ctor to create const_iterator from iterator, otherwise assigning the return value of begin() called on a non-const object to a const_iteator didn't work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:26:39 +00:00
Vadim Zeitlin
af867f957d
fixed operator[] in wxUSE_STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 21:25:00 +00:00
Włodzimierz Skiba
ed8219a5e0
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 11:31:03 +00:00
Włodzimierz Skiba
dd4e6da0e0
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 10:27:17 +00:00
Włodzimierz Skiba
0799bc868e
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 10:05:40 +00:00
Vadim Zeitlin
9ea1246ba6
added operator[] for STL builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 00:56:59 +00:00
Paul Cornett
b45c2fe579
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-07 01:14:50 +00:00
Vadim Zeitlin
141d782d56
misc fixes for wxDirDialog; new wxDD_CHANGE_DIR flag (patch 1478051)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:10:11 +00:00
Vadim Zeitlin
4523ebb3f1
simplify the client data/non standard images handling code by unconditionally using wxTreeItemParam struct instead of using indirect data only sometimes; also extend it to contain the id which allows to always sort the items correctly (closes bug 1447419) (patch 1449096 from Ryan)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 19:17:22 +00:00
Vadim Zeitlin
3affcd078b
added wxString::EndsWith() (patch 1483049)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:27:52 +00:00
Vadim Zeitlin
9b2a74693e
allow to specify the value for unknown ids in GetXRCID() (patch 1448981)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:59:59 +00:00
Vadim Zeitlin
53ee60908a
added wxTextAttr::Merge (modified patch 1482719)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:16:25 +00:00
Vadim Zeitlin
593ac33e50
added InitCommandEventWithItems() and call it from wxChoice and wxComboBox code to ensure that per item client data is set correctly in the generated events (replaces patch 1476171; closes bug 1470505)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 15:48:27 +00:00
Włodzimierz Skiba
e8ee8f2716
Helper for clipping to range.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:28:33 +00:00
Paul Cornett
cb3db09022
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:04:48 +00:00
Włodzimierz Skiba
51f5e2822c
Tinderbox build fix for wxUnivGTK build.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 12:23:38 +00:00
Vadim Zeitlin
aa1e6de9b1
implemented SetItemToolTip()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:40:06 +00:00
Vadim Zeitlin
f7ce0e4a5f
added static Apply(GtkWidget, tip) method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:34:10 +00:00
Vadim Zeitlin
d33704ddf2
renamed m_boxes to m_buttons because, well, it contains the radio buttons and not boxes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 23:00:34 +00:00
Vadim Zeitlin
d64ad2c7e1
added support for radiobox items tooltips in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 22:54:17 +00:00
Vadim Zeitlin
c670c85582
added Get/SetItemToolTip() (and implemented them for MSW) to allow setting tooltips for the individual radiobox items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:08:56 +00:00
Vadim Zeitlin
c009bf3e9f
relay mouse move events to the tooltips even when the window itself doesn't have a tooltip -- but its subwindow does
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 16:07:15 +00:00
Vadim Zeitlin
4453b38d02
made RelayEvent() static
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:58:29 +00:00
Vadim Zeitlin
0c5405b727
added Remove(HWND); removed unused wParam parameter from SendTooltipMessage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:51:38 +00:00
Vadim Zeitlin
bf00495160
implemented declared but never defined resize() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 15:01:37 +00:00
Jouk Jansen
d7313bdcee
Committing in .
...
improvement of the previous commit
fixes OpenVMS support for wxGTK1
Modified Files:
wxWidgets/include/wx/dirdlg.h wxWidgets/src/gtk1/descrip.mms
Removed Files:
wxWidgets/src/gtk1/dirdlg.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 12:02:10 +00:00
Vadim Zeitlin
ab9a58f424
include volume in path returned by GetPathWithSep()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 13:11:18 +00:00
Paul Cornett
8b64a7e24b
correct access specifier for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 17:23:04 +00:00
Paul Cornett
27ed553558
remove definitions which are already in wx/app.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 17:21:30 +00:00
Włodzimierz Skiba
90b903c263
Renamed DrawCheckButton due to conflict with existing and public api of wxUniversal port.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 23:54:26 +00:00
Włodzimierz Skiba
4ff2699952
Be nice to eVC++ build process and don't include not existing files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 21:16:56 +00:00
Włodzimierz Skiba
1fb351fada
Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 12:32:29 +00:00
Robert Roebling
5b9003ae32
Applied patch to add n bitmaps at once to an image
...
list of the bitmap is n times as wide as the
image width of the image list. This was the case
in the MSW image list before.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 11:58:40 +00:00
Robert Roebling
f644bc116b
Blindly added wxImageList::replace( int, bitmap, mask )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 10:38:32 +00:00
Robert Roebling
b50747ea53
Trying to commit wxDirDialog patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 09:44:29 +00:00
Mart Raudsepp
d95c5149ad
Add virtual keyword where applicable.
...
Rearrange declarations to match the order in base classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-29 00:46:05 +00:00
Włodzimierz Skiba
7d01c54d7f
Final touch for wxColour <-> wxString and wxColourBase by Francesco Montorsi.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 17:59:28 +00:00
Włodzimierz Skiba
268c20fa31
Be nice to eVC++ build process and don't include not existing files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 10:14:27 +00:00
Włodzimierz Skiba
979a0320b0
wxTLW::IsAlwaysMaximized() introduction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 17:18:46 +00:00
Włodzimierz Skiba
07b6378fcb
Be nice to eVC++ build process and don't include not existing files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 11:33:56 +00:00
Stefan Csomor
f61ed7ee42
renamed RGBColor setter to avoid former overload being an override
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 07:41:06 +00:00
Vadim Zeitlin
39ea2103cd
handle fatal exceptions in the other threads (based on patch 1459813 by Carl-Friedrich Braun)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 18:04:15 +00:00
Robert Roebling
daebb44c74
Added wxRenderer method for drawing selection
...
rect if an item in a list has ben selected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 10:48:52 +00:00
Vadim Zeitlin
c1aa5517ac
remove the vertical scrollbar completely if the control is empty
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 00:17:52 +00:00
Włodzimierz Skiba
59b8b14745
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 21:39:21 +00:00
Włodzimierz Skiba
d022d3649e
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 17:31:27 +00:00
Włodzimierz Skiba
ee19674c9f
[ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 12:40:19 +00:00
Włodzimierz Skiba
daebb84bff
Build fix after wxColourBase introduction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 21:05:04 +00:00
Włodzimierz Skiba
4b80b7705f
Build fix after wxColourBase introduction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 18:02:27 +00:00
Vadim Zeitlin
7d13fbc6dc
don't use invalid/uninitialized iterator in wxList::compatibility_iterator in wxUSE_STL==1 case, this doesn't work with the debug version of glibc STL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 17:59:10 +00:00
Robert Roebling
2209baaee3
Committed Jaako's renderer patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:57:27 +00:00
Włodzimierz Skiba
6b5d2431fc
wxOS2 build fixes after wxColourBase introduction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:34:26 +00:00
Włodzimierz Skiba
40989e46b8
[ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation' with minor modifications and rebaked build files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 14:52:23 +00:00
Václav Slavík
968d6f46c8
added comment explaining how to replace calls to deprecated method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 20:47:48 +00:00
Vadim Zeitlin
62675f1e33
added operator=(unsigned int) overload (should help djgpp compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 01:50:46 +00:00
Vadim Zeitlin
fd587c7a5e
made wxCommandEvent::GetInt() return int, not long (patch 1473771)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 00:53:59 +00:00
Włodzimierz Skiba
74b720793f
Keep wxPalmOS buildable after changes in wxConvAuto.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 22:58:03 +00:00
Paul Cornett
900ca9b89a
remove unneeded gdiobj.h files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 16:47:15 +00:00
Robert Roebling
c21f7aa162
Added style flags for selection mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 08:31:35 +00:00
Stefan Csomor
6cce68eaab
listbox rewrite, cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 07:53:02 +00:00
Stefan Csomor
ca92309874
listbox rewrite
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 07:25:08 +00:00
Stefan Csomor
c82af6eec5
fixing 'id' objc.h collisions, listbox rewrite
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 06:42:21 +00:00
Stefan Csomor
7af76fc14e
fixing 'id' objc.h collisions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 06:39:43 +00:00
Vadim Zeitlin
5f2c545c7f
regenerated using build/update-setup-h to have wxUSE_DISPLAY and wxUSE_DATAVIEWCTRL changes in all versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:03:10 +00:00
Vadim Zeitlin
9e75975626
set wxUSE_DISPLAY to 1 by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 01:00:51 +00:00
Vadim Zeitlin
2952b4b9e4
put wxUSE_DATAVIEWCTRL in alphabetical order
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 00:58:44 +00:00
Robert Roebling
533544f2ea
Added some column width contrl code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:14:36 +00:00
Vadim Zeitlin
d240dea199
removed extra semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:03:15 +00:00
Robert Roebling
862d8041ab
Add wxRenderer::DrawCheckButton for use inside
...
wxDataViewCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 16:14:12 +00:00
Vadim Zeitlin
61bb5a9c1b
implement Layout() so that sizers work correctly when the window is scrolled (1st part of the patch 1439905)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 02:00:48 +00:00
Vadim Zeitlin
17af82fb4c
added wxStandardPaths::GetDocumentsDir() (patch 1214360)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:12:04 +00:00
Vadim Zeitlin
6493aacaeb
centralized the handling of border styles; added borders support for wxListBox and support of other kinds of borders (patch 1448088)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:38:26 +00:00
Vadim Zeitlin
3786c8b587
added wxMenu::AppendSubMenu() to avoid having to specify a dummy id when adding a submenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:25:21 +00:00
Vadim Zeitlin
432ea998aa
added virtual dtor to wxHtmlWindowMouseHelper to avoid gcc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:41:15 +00:00
Vadim Zeitlin
1de8d512b7
simplify/cleanup wxTheXXXList and wxGDIObject code (patch 1452023 from Paul Cornett)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:33:24 +00:00
Vadim Zeitlin
f516d98637
create stock GDI objects on demand; use const with GDI objects appropriately (patch 1445355)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:18:29 +00:00
Vadim Zeitlin
57e988b8ef
added overwrite parameter to wxRenameFile (patch 1467041)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:14:00 +00:00
Julian Smart
4bfec1790f
Changed the wxPlatform syntax as per Vadim's suggestions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 09:31:06 +00:00
Vadim Zeitlin
d364df5fee
removed unneeded reverse_iterator::operator->() which provokes VC6 warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 18:39:56 +00:00
Julian Smart
230c90774f
Easier platform testing class and function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 17:40:13 +00:00
Vadim Zeitlin
968f291be6
added wxString::rbegin() and rend()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 15:03:57 +00:00
Robin Dunn
7017fd6745
IsStandard needs to check m_type, not m_format
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 06:53:56 +00:00
Robin Dunn
c072c75701
Give wxDataObjectComposite a way to report what kind of data was given
...
to it from the clipboard or DnD source.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:35:08 +00:00
Václav Slavík
31297dbbd0
use public inheritance when deriving from wxHtmlWindowMouseHelper so that overriden methods can call base versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 20:43:06 +00:00
Włodzimierz Skiba
8243a33965
HitTest is not deprecated.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 18:17:16 +00:00
Vadim Zeitlin
1a6c768b17
added wxGTK_CONV_FONT/ENC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:32:25 +00:00
Włodzimierz Skiba
40ff126ac4
Deprecated and obsolete parts marked up for backward compatibility.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:01:16 +00:00
Vadim Zeitlin
234b1c0147
reverted wxHVScrolledWindow patch (rev 1.19/1.21 of vscroll.h/.cpp) because not only we don't want to duplicate code like this but it also broke wxHtmlListBox by making scrolling in it O(N) instead of O(1)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:55:28 +00:00
Julian Smart
fac6eaec24
Simulated text labels and toggle highlights under buttons
...
Removed background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:49:57 +00:00
Julian Smart
b95c06ba08
Reversed accidental commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:24:50 +00:00
Julian Smart
77631b1d81
Implemented Mac-style button toggling within wxButtonToolBar, and line
...
under toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:40:34 +00:00
Julian Smart
1a1190b245
Allow specification of border spacing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:38:48 +00:00
Włodzimierz Skiba
9d9d3d55c9
MSLU with DMC build fix [ #1469456 ].
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:16:29 +00:00
Václav Slavík
88a1b6485f
don't show the I-beam cursor over text in wxHtmlListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 11:38:36 +00:00
Julian Smart
e5f49cbf82
Compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 09:31:47 +00:00
Julian Smart
64d3ed176d
Steps towards implementing native-style, non-top-level toolbars on Mac
...
by implementing a toolbar class that uses native buttons.
Ultimately this should allow wxToolbook and wxPropertySheetDialog
classes to look native, when we complete the button API improvements
to combine text, bitmaps and toggling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 09:15:10 +00:00
Václav Slavík
bc55e31bdc
1. added abstract interface to wxHtmlWindow for use by wxHtmlWinParser and implemented it for wxHtmlListBox
...
2. used the above to implement clickable links support in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 22:08:28 +00:00
Włodzimierz Skiba
e0d5d9af8b
All book controls shares wxBK_* flags [bug #1469980 ].
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 18:24:38 +00:00
Julian Smart
87cf52d8ac
On screens with restricted space, it's useful to be able to add controls
...
to e.g. the wxChoice control of a wxChoicebook. GetControlSizer
allows an app to do that, and we also add a control margin which
may or may not be respected by individual book controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-13 14:22:32 +00:00
Stefan Neis
0934d91c7b
Fixed GetSelection to behave the same as for the other ports, added
...
GetCurrentSelection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 20:31:46 +00:00
Julian Smart
cb8acbd632
Added IsDynamic to XTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 13:46:21 +00:00
Julian Smart
0c06c9839c
Applied patch [ 1211299 ] Minor mod to wxClassInfo to improve usability
...
David Falkinder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 13:06:05 +00:00
Vadim Zeitlin
171a1afede
made ShouldPreventAppExit() public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-12 00:47:36 +00:00
Vadim Zeitlin
5851053a96
added wx/font.h include to fix PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 14:18:20 +00:00
Stefan Csomor
0c81ef7fce
Ryan's patch 1468129 ,
...
1) Don't hog mouse events from other windows
2) Don't crash on mouse and other events when a bad file is loaded
3) Correctly detect whether a file can be loaded or not (Forgot to call ::ClearMoviesStickyError())
4) Real workaround for the wxNotebook issue (by using offscreen GWorld)
5) Nuke of CreateMovieControl version and many other cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 05:53:55 +00:00
Vadim Zeitlin
1cef1b4ab6
Unicode compilation fix after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:05:18 +00:00
Vadim Zeitlin
d5bef0a323
added wxConvUI which determines the conversion used for the UI elements and can be changed from the user code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 00:36:24 +00:00
Vadim Zeitlin
5f11fef543
use the encoding of the font which is used to draw the text when convering it to UTF-8 in wxGTK_CONV; the old wxGTK_CONV renamed to wxGTK_CONV_SYS (uses system encoding) and used in the contexts where no font is available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 22:22:13 +00:00
Vadim Zeitlin
0e05227246
no changes, just corrected the comment for wxConvLocal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 21:53:42 +00:00
Vadim Zeitlin
fc298ea781
added wxDCClipper ctor overload taking a wxRegion and documented it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 15:08:10 +00:00
David Surovell
12cb759190
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 14:58:15 +00:00
Włodzimierz Skiba
f7c3b945ec
Blind check for compatibility flags.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 13:42:28 +00:00
Stefan Csomor
37c287c49c
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 11:45:54 +00:00
Vadim Zeitlin
2f4f6de77b
added wxWxCharBuffer which stands for buffer of wxChars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 01:35:21 +00:00
Vadim Zeitlin
3952889a90
really fix warning about implicitly converting 0 and 1 to size_t -- use explicit cast to size_type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 22:47:46 +00:00
Stefan Csomor
ba5b8a68f7
listbox cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 06:42:32 +00:00
Robin Dunn
2b01fd4918
Use CmdDown in mouse events instead of ControlDown so Mac users can
...
multi-select with shift and cmd like they are used to. Other
platforms are not affected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 00:09:35 +00:00
Vadim Zeitlin
4c82058341
don't redefine _CRT_SECURE_NO_DEPRECATE and _CRT_NON_CONFORMING_SWPRINTFS if already defined (patch 1463364)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 22:58:54 +00:00
Stefan Csomor
66bc84a900
ellipsis support for static text (mac), applied patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 15:32:18 +00:00
Stefan Csomor
51478cd68d
allowing the suppression of SetValue event-triggering (needed for composite controls)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 13:00:13 +00:00
Stefan Csomor
32efab35c1
applying patch 1411230
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 11:43:13 +00:00
Stefan Csomor
b1fd3badf5
applied patch 1465549
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 18:56:13 +00:00
Vadim Zeitlin
65afac3fbc
added wxTLW::ShouldPreventAppExit() which can be overridden to allow closing the application even if some windows are still opened; use it for wxHtmlHelpFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 00:38:49 +00:00
Vadim Zeitlin
2ed8c8dd1f
some compilers warn about implicitly converting 0 and 1 to size_t -- use 0u and 1u instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 23:45:14 +00:00
Vadim Zeitlin
2e2cf78dc1
fixed gcc warnings about not initializing the base class in copy ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 17:11:25 +00:00
Vadim Zeitlin
35d11700a5
implemented UTF-16/32 using To/FromWChar() instead of MB2WC/WC2MB for sizeof(wchar_t)==4 platforms too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 23:04:10 +00:00
Vadim Zeitlin
467e04791c
1. use a manifest constant wxNO_LEN instead of -1 for lengths everywhere
...
2. reimplemented UTF-16/32 conversions using To/FromWChar() API instead
of MB2WC/WC2MB for Windows (or rather SIZEOF_WCHAR_T == 2 platforms),
the first tangible result is that reading UTF-32BE text streams now
works too
3. more off by 1 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 22:12:45 +00:00
Vadim Zeitlin
e835ec0100
added wxMBConv::Clone() to be able to copy conversion objects polymorphically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 16:54:02 +00:00
Vadim Zeitlin
d36c9347ea
added wxMBConv::Clone() to be able to copy conversion objects polymorphically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 16:10:08 +00:00
Vadim Zeitlin
830f8f11bc
1. changed all "wxMBConv& conv" parameters to "const wxMBConv&"
...
2. this allows to use wxConvAuto() instead of wxConvUTF8 as default value
for this parameter in the classes which read text from the file: wxConvAuto
automatically recognizes the BOM at the start of file and uses the correct
conversion
3. don't use Windows for UTF-7 conversions as there is no way to make it
fail on invalid UTF-7 strings; use our own wxMBConvUtf7 instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:37:47 +00:00
Mart Raudsepp
042bcad45e
Add GDK_PIXBUF_DISABLE_DEPRECATED, it should build with it now. Will keep an eye on the tinderbox at a reasonable
...
interval.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 19:34:38 +00:00
Vadim Zeitlin
509da4510f
MB2WC/WC2MB are not pure virtual any longer, implement them in terms of To/FromWChar()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 13:04:47 +00:00
Vadim Zeitlin
483b0434bf
added new To/FromWChar() API with more reasonable semantics than old MB2WC/WC2MB; for now both coexist and the change is/should be backwards compatible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 12:35:21 +00:00
Vadim Zeitlin
7ef3ab50e9
renamed GetMinMBCharWidth() to GetMBNulLen(), made it public and documented it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 07:49:08 +00:00
Václav Slavík
e7feeafa56
added ParseInnerSource() to make <pre>-like parsing easier
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-03 19:34:21 +00:00
Vadim Zeitlin
c1464d9d10
replaced recently added wxMBConv::GetMBNul() with a less clever but better
...
working GetMinMBCharWidth(): the idea is that we can't deal with completely
arbitrary encodings anyhow using the current API as we get confused by NUL
runs in the middle of the string, so instead just deal correctly with normal
multibyte encodings, UTF-16/UCS-2 and UTF-32/UCS-4 which should cover 99.9% of
the cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 14:59:53 +00:00
Vadim Zeitlin
11fead7c46
added wxBuffer::reset()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 14:57:36 +00:00
Kevin Hock
30dfb74488
Make the Connect that also takes a local bind port non-virtual. This silences some compiler warnings (Borland, Watcom). Plus, it's not likely that this method would need to be overridden anyway since it has rather limited and specific uses.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 04:56:18 +00:00
Vadim Zeitlin
3871d4ca75
use proper dllexport declaration with _WX_LIST_HELPER_
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 01:10:41 +00:00
Vadim Zeitlin
bd35ed323f
added wxTimeSpan::Millisecond[s]() for consistency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 00:58:44 +00:00
Vadim Zeitlin
9c21e80bb0
seconds and milliseconds in wxTimeSpan ctor should be long long, not long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 00:52:57 +00:00
Vadim Zeitlin
22886fb3c3
Unix compilation fixes after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 13:38:28 +00:00
Vadim Zeitlin
eec47cc6c4
Described in the comments and documented the semantics of the parameters and
...
return values of wxMBConv methods and tried to make them more consistent. The
only (intentional) backwards incompatible change is that cMB2WC/cWC2MB now
return the length of the converted string in outLen parameter and not length+1
Added wxMBConv::GetMBNul() and use it instead of supposing that all multibyte
strings are always terminated with a single NUL which is wrong for UTF-16/32.
Using GetMBNul(), completely rewrote cMB2WC/cWC2MB() to accept a string of the
specified length, whether it is NUL-terminated or not. This means that they
don't overwrite the provided buffer any more and convert the entire string in
all cases.
Fixed bug in wxMBConvUTF16::WC2MB() which didn't NUL-terminate the string
properlyv even if there was enough space.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 12:43:03 +00:00
Vadim Zeitlin
6901ac371f
added extend() method which realloc()s the buffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 02:58:56 +00:00
Vadim Zeitlin
fedde9b906
default ctor should create an empty/uninitialized buffer, not one with a single character string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 23:33:38 +00:00
Włodzimierz Skiba
1c067fe3c1
Removed every usage of obsolete wxTLW flags. 2.6 compatibility markup for them.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 18:07:22 +00:00
Włodzimierz Skiba
6a9e54bdff
Better backward compatibility and deprecation markup for interface deprecated in comments.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 11:13:03 +00:00
Vadim Zeitlin
dedba2a11f
use wx/dynlib.h and not wx/dynload.h (patch 1448691)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 00:03:15 +00:00
Vadim Zeitlin
735dec5e62
added #if wxUSE_CONSTRAINTS around the whole file (patch 1448826)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 00:01:11 +00:00
Włodzimierz Skiba
ca3e85cfa8
Better backward compatibility and deprecation markup for interface deprecated in comments.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 14:04:17 +00:00
Vadim Zeitlin
5981cd22f3
really disable wxUSE_DISPLAY for wxMGL and wxOS2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 14:17:42 +00:00
Włodzimierz Skiba
989ab1e5a6
Line-up deprecated interface of wxTreeCtrl between ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 13:11:20 +00:00
Włodzimierz Skiba
8e13c1ec4e
Make wxPASSWORD and wxPROCESS_ENTER really deprecated.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:02:37 +00:00
Julian Smart
ecf418ad77
Correct test for WORDS_BIGENDIAN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 10:32:00 +00:00
Julian Smart
f45bffb686
stdpaths.h needs filefn.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 10:30:20 +00:00
Robert Roebling
0f0297d8f3
Remove CVS clash in RCS-ID
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 08:14:50 +00:00
Vadim Zeitlin
4ae776b767
really fixed iteration over wxTextbuffer using GetFirst/NextLine()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 23:01:00 +00:00
Vadim Zeitlin
2dfa1d9e11
fix bug in Eof() which returned true even if we were only on the last line, not beyond it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:39:48 +00:00
Vadim Zeitlin
a85a25c7d8
use wxLaunchDefaultBrowser by default if no browser is specified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:23:33 +00:00
Vadim Zeitlin
2364556be3
renamed m_MapFile into m_helpDir because this is what it really is
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:05:07 +00:00
Vadim Zeitlin
249b3fe3bb
rewrote wxExtHelpController loading code to use wxFileName as it was broken under Mac and it also reduces the code size; also use wxTextFile to further simplify the code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:28:51 +00:00
Włodzimierz Skiba
be437778be
Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 15:52:54 +00:00
Włodzimierz Skiba
f554a14b89
Source and warning cleaning after enabling wxUSE_DATAVIEWCTRL in wxMSW builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 14:01:33 +00:00