Commit Graph

26610 Commits

Author SHA1 Message Date
Włodzimierz Skiba
abc2a4ccec Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 17:35:00 +00:00
Włodzimierz Skiba
c8b75e9498 ssize_t for wxFile, unsigned char markup for color components, whitespace source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 17:32:42 +00:00
Włodzimierz Skiba
42e88ddb61 Further decorations in changes chapter. Missed methods in their base location.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 17:22:49 +00:00
Włodzimierz Skiba
c5789d1526 Use Get*Box instead Get*Region if you are asking about position and size. And it is enough to have it in base class only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 15:48:50 +00:00
Robert Roebling
16edee16a7 Apply choice patch for proper handling of clearing
wxChoice (it reported a selection value of 0)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 12:47:06 +00:00
Václav Slavík
6372b068b2 fixed typos (patch 1079876)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 10:28:58 +00:00
Julian Smart
5e80ff3d31 Removed CF_NOSIMULATIONS flag to increase range of available fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 08:48:29 +00:00
Robert Roebling
77f706726c Implemented run-time checks for the GTK version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 23:03:09 +00:00
Ryan Norton
d7b995a497 Fix overflow warnings (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 20:52:23 +00:00
Robert Roebling
4e1901b70e Moved the implemtation of the generic and the
native GTK 2.4 file dialogs into one place
   by making wxFileDialog derive from the
   generic variant and by then choosing which
   implementation to use. Later, we'll add
   run-time checks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 20:30:18 +00:00
Kevin Hock
822cf31c27 Prevent GDK assertions when a window has a hidden (never shown) parent -- do not use wxRegionIterator over the parent if the parent is not mapped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 19:40:01 +00:00
Kevin Hock
90470763da Freeze/Thaw implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 19:15:41 +00:00
Kevin Hock
b6ae8db82b Freeze/Thaw patch missed a place where m_buffer should be used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 19:15:11 +00:00
Kevin Hock
636673edda Updating wording in Freeze to more accurately describe the situation under wxGTK where Freeze in a text control is most useful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 19:14:34 +00:00
Julian Smart
bcfced3616 Neither PocketPC nor SmartPhone have SHBrowseForFolder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 18:56:29 +00:00
Robert Roebling
121ade4fd3 Corrected patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 17:29:03 +00:00
Julian Smart
b4367c87f1 Simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 17:02:17 +00:00
Robert Roebling
9ddf4854df Invalidate the best size after adding an item
to a wxChoice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 16:56:56 +00:00
Robert Roebling
265accbe55 A little documentation about custom events as
per the discussion on the mailing list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 16:30:54 +00:00
Julian Smart
ade0e73d18 Further Wince fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 14:11:35 +00:00
Julian Smart
9e67e54178 Moved GetDefaultAttributes outside wxUSE_RICHEDIT block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 14:01:29 +00:00
Julian Smart
885b88a257 Unicode/WinCE corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 13:36:44 +00:00
Julian Smart
e0f6b731a8 Added flags argument to wxKill and wxProcess::Kill to allow it to
kill child processes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 12:53:25 +00:00
Vadim Zeitlin
65c8ace850 update from herbert breunung
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 19:22:35 +00:00
Włodzimierz Skiba
c7dc771115 wxGDIObject is used earlier now so additional #include is required for those without PCH.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 17:31:53 +00:00
Włodzimierz Skiba
84df104241 Fix to FIXME: better nothing than broken comparison.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:38:35 +00:00
Włodzimierz Skiba
cb9d5bd07e wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:31:31 +00:00
Ryan Norton
7a4d2469f9 fix shared msw builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 23:17:51 +00:00
Kevin Hock
bdf0c19c6e Honor value of SetMaxLength, at least when typing (pasting still circumvents it). This is done by eating non-navigation/delete characters in OnChar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 21:35:40 +00:00
Ryan Norton
2b138cc2bd hack around 10.2/10.3 bug with duplicate symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 18:53:18 +00:00
Julian Smart
df1f4832e5 Spelling corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 16:16:51 +00:00
Julian Smart
a83ea9c15a Crash fix under VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 16:14:49 +00:00
Julian Smart
aaf1bbfd62 Fixed memory checking on Unix by removing inlines and apply patch
by Mart Raudsepp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 12:04:46 +00:00
Julian Smart
c242a1ec6d Use the right symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 12:03:45 +00:00
Julian Smart
5c2cd0f67a Fix compilo on Unix using src/iodbc which has no SQL_C_WCHAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 09:42:03 +00:00
Ryan Norton
ff3d9a3532 better name - add newline to end of file for dumber compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 00:02:11 +00:00
Ryan Norton
c08dd08b3e add wxStripExtension test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 23:58:11 +00:00
Ryan Norton
2cbfa061b4 Correct mistakes in wxStripExtension - correct wxString::npos. Spurred by 1073642 filefn.cpp StripExtension(wxString &)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 23:55:42 +00:00
Robin Dunn
fab7c93158 ensure that yesr is an integer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 22:00:43 +00:00
Robert Roebling
d6c6acd640 Added support for GNOME print in static builds
also by adding the FORCE_LINK() statements.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 21:35:26 +00:00
Robert Roebling
4ea56379e3 Added support for static (inlined) wxImages with
alpha channel.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 21:33:38 +00:00
Robert Roebling
41b81aed52 Applied Freeze()/Thaw() patch for wxTextCtrtl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 20:52:36 +00:00
Robert Roebling
70dfc4ed70 Compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 19:15:46 +00:00
Robert Roebling
1523681581 Applied font scaling patch (GetTextExtent()) to
new printing code as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 18:44:50 +00:00
Robert Roebling
86baa52d22 Applied patch to "correct" hashmap's freeing
of memory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 18:33:33 +00:00
Robert Roebling
0b18767089 Applied patch to correct EVT-CHAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 18:29:13 +00:00
Julian Smart
c86abb56d5 Include "wx/msw/msvcrt.h" for better leak reporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 14:46:16 +00:00
Julian Smart
ea787af196 Allow memcheck.cpp to be compiled without wxDebugContext (for e.g. testing
using other leak checkers).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 12:50:24 +00:00
Włodzimierz Skiba
68d411dc57 Missing wxWindow member, manual decorations to pure text list of changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 08:53:31 +00:00
Kevin Hock
254973247e Create wxGtkTextApplyTagsFromAttr for common processing of text attributes from both wxGtkTextInsert and SetStyle (and any other place needed in the future) -- from Mart R.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 04:28:40 +00:00