Commit Graph

9975 Commits

Author SHA1 Message Date
Kevin Ollivier
bc63f2c969 Restore compilation with --enable-stl, fix SetFocus with the generic control, and re-instate the use of ids to sort when a specific sort function isn't being used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 06:53:53 +00:00
Vadim Zeitlin
9b99c1e36a changing ES_LEFT/CENTER/RIGHT styles only works for plain (not rich) controls and only under XP, recreate the control in SetWindowStyleFlag() if it's a richedit one or if the system is earlier than XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-20 13:38:25 +00:00
Stefan Csomor
f02f4d43c5 fvisibility-inlines-hidden fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 13:49:26 +00:00
Stefan Csomor
f84a986cfc fixing -fvisibility-inlines-hidden problem (IsOk function didn't get exported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 05:43:19 +00:00
Robin Dunn
d7db6a4351 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 20:22:32 +00:00
Václav Slavík
757b694ba8 wxDFB: fix events processing to support sockets events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 17:24:06 +00:00
Vadim Zeitlin
18c7af7e80 suppress a CodeWarrior warning about long to int conversion (bug 1616948)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-17 15:49:46 +00:00
Vadim Zeitlin
cd840087aa fix compilation with wxUSE_STL=1 for VC6 (and presumably others) (bug 1614814)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:47:26 +00:00
Václav Slavík
d8bfd72731 wxDFB's wxICON and wxBITMAP should use embedded XPMs, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 17:45:06 +00:00
Václav Slavík
6b44a33553 moved wxX11's wxSocketTable to private wxSocketEventDispatcher class reusable in other ports (backport from SOC2006_SOCKETS branch); use it in wxDFB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-14 14:13:57 +00:00
Michael Wetherell
62f04b576f Change wxMkDir/wxRmDir to _wmkdir/_wrmdir for Borland unicode builds to match
recent change of wxMBFILES.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 12:32:08 +00:00
Robin Dunn
8d3223cb32 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 01:52:43 +00:00
Robin Dunn
af1f44f17e Also do LayoutControls from EVT_SIZE handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 00:53:52 +00:00
Kevin Ollivier
c60122bf37 Change event names to clarify that they are only fired by button clicks, and note ways of retrieving search queries in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 20:32:16 +00:00
Vadim Zeitlin
8bc333d76d added $Id$ to the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 14:14:07 +00:00
Vadim Zeitlin
ec184e3242 1. Renamed Set/GetXXXVisible() to ShowXXX() and IsXXXVisible()
2. Moved wxSearchCtrlBase to wx/srchctrl.h to avoid duplicating it
3. Removed gcc #pragmas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:48:18 +00:00
Vadim Zeitlin
7a71ffc175 use wx prefix for wxUSE_NATIVE_SEARCH_CONTROL macro name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 12:57:35 +00:00
Robin Dunn
2efce8f1ad include bitmap.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 07:48:02 +00:00
Kevin Ollivier
698db322d0 Improve default wxSearchCtrl GetBestSize() width and ensure that SetFocus focuses in the control's text area.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 07:35:46 +00:00
Robin Dunn
3f7f284d55 Modified form of Patch #1611222, adds wxSearchCtrl (generic & native carbon HISearchField)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 06:19:27 +00:00
Václav Slavík
f0c3b72446 removed code that already exist in ~wxTLWBase from ~wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 15:53:29 +00:00
Vadim Zeitlin
870cf35c45 replaced size_t with unsigned int in wxAnimation and related classes and a couple of minor cleanups (use C++ comments; wrap long lines; put private parts after the public ones)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 14:18:37 +00:00
Stefan Csomor
9611686694 adding an autorelease capability (got weird crashes when deleting tools from a toolbar otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 13:08:42 +00:00
Michael Wetherell
e3a10e0c62 Revert last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 22:28:11 +00:00
Paul Cornett
1c3693e8f5 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 19:48:21 +00:00
Paul Cornett
67461bd124 rename RemoveIdleSource to SuspendIdleCallback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 17:46:20 +00:00
Vadim Zeitlin
1c714a5d07 implement To/FromWchar() as wxCSConv methods, otherwise wxCSConv(wxFONTENCODING_UTF16) didn't work correctly even if the underlying wxMBConvUTF16 did
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 16:19:34 +00:00
Vadim Zeitlin
73b30256a0 default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 14:52:59 +00:00
Paul Cornett
5a3ef19432 fix for SetPosition/SetInsertionPoint when called during Freeze
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 06:21:15 +00:00
Stefan Csomor
bf9a1615ed switching from native rtti to wxrtti
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 15:06:38 +00:00
Paul Cornett
80a91c146a class/struct mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:57:44 +00:00
Paul Cornett
291324e376 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 08:56:57 +00:00
Paul Cornett
bc48a5d75e correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:22:55 +00:00
Paul Cornett
2c685efab1 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:50:54 +00:00
Paul Cornett
3498362ed5 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:44:44 +00:00
Vadim Zeitlin
5059e05d42 we don't need to include wx/url.h from the header, we do need to include wx/uri.h from the .cpp file (fixes compilation when wxUSE_URL==0 but wxUSE_PROTOCOL_FILE==1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 19:20:40 +00:00
Václav Slavík
5ea50c92a5 use WXDFB_FONTPATH variable instead of WXDFB_FONTDIR and search the dirs recursively for fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 18:48:04 +00:00
Robin Dunn
248802d010 Add wxGraphicsMatrix::Get
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 23:42:52 +00:00
Vadim Zeitlin
927637fdaf allow dynamically changing most of text control styles in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 12:39:52 +00:00
Vadim Zeitlin
403e664e5b removed empty and unused CalculateScrollbar() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:39:27 +00:00
Vadim Zeitlin
d63312a977 added a small helper ToggleWindowStyle() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:10:59 +00:00
Vadim Zeitlin
9ec927f89b ensure that scroll position is always in scrolling range, otherwise we could have a window without scrollbars at all but with non zero scroll offset which was really strange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:05:59 +00:00
Julian Smart
85d3d198c2 Use font encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 10:16:11 +00:00
Julian Smart
67339f7d9d Added SetEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 08:26:24 +00:00
Vadim Zeitlin
e94e2d73e1 added default value for GetLocalizedResourcesDir() category parameter, as in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:53:23 +00:00
Vadim Zeitlin
364663aa72 replaced the button suppressing the assert dialog with a checkbox (a slightly modified patch from Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:15:01 +00:00
Stefan Csomor
4280b8797f adding raster op hook to graphics context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:23:42 +00:00
Stefan Csomor
e22cf4b310 adding raster op hook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 15:15:43 +00:00
Vadim Zeitlin
cc4f194e48 added Get(MultiLine)TextEvent() overloads returning wxSize which are used by wxPackageManager (patch 1595123)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 14:11:15 +00:00
Robin Dunn
d8dd53b239 Fix compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 23:52:54 +00:00