Commit Graph

15651 Commits

Author SHA1 Message Date
Vadim Zeitlin
6f0344c7ff fix evaluation order bug (patch 1158099)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 20:06:14 +00:00
Vadim Zeitlin
040e5f77e6 harmless warning fixes for WinCE (mostly unused parameters)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:50:06 +00:00
Vadim Zeitlin
abf912c5a1 harmless warning fixes for WinCE (mostly unused parameters)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:26:51 +00:00
Włodzimierz Skiba
e9b64c5ea8 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:39:22 +00:00
Robert Roebling
9b0b5ba76e Applied GetSystemMetric patch to suppurt GTK and multihead
display.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:38:31 +00:00
Robert Roebling
2fe417e4c4 Applied patch to reenable single selection mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:27:20 +00:00
Robert Roebling
33fe475aeb This fixes a problem in the two tree and list controls that
are trigger if the user app shows dialog in reaction to
   the user pressing e.g. <ENTER>. The edit text control will
   lose focus and emit another event. Might be possible to
   fix without adding another field, but this way it surely
   works.
  Also added correction to treecontrol as per listcontrol in
   the situation when a label change happens by losing the
   focus and the user cannot reject it, another event is emitted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:25:29 +00:00
Robert Roebling
885dd59789 Readd support for prelight tree control triangles (visual
effect when mouse is over the triangle/button)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:20:41 +00:00
Robert Roebling
f05e0979c2 Use GtkPixmap instead of GtkImage as the latter incorrectly
displays greyed images for some reason.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:19:02 +00:00
Vadim Zeitlin
499bbaeba3 replaced complicated and not working test for WinCE version with a simple and working test for whether WM_CONTEXTMENU is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 02:11:30 +00:00
Vadim Zeitlin
1d836590aa fix warning about comparing (signed) -1 with (unsigned) in_addr_t under Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-06 13:43:56 +00:00
Vadim Zeitlin
5f8ba10e86 replaced C++ comment with a C one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-06 12:16:24 +00:00
Vadim Zeitlin
f6d43eda3e (blind) GTK1 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 23:36:07 +00:00
Michael Wetherell
9802983f15 Fix for problem with wxGetFileKind on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 23:24:17 +00:00
Mattia Barbon
0fcb9befd9 Use the common wxParseCommonDialogsFilter function
in wxMotif wxFileDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 17:16:44 +00:00
Mattia Barbon
80f7ea17cb Avoid uninitialized variable warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 16:13:55 +00:00
Mattia Barbon
dad285d71f Use the IsMDIChild() function instead of wxRTTI,
avoiding linking MDI classes in all programs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 16:11:29 +00:00
Mattia Barbon
3543c79e6f Corrected wxStringListBase implementation of
DeleteFunction. Since wxStringList, when wxUSE_STL == 1
is a list of object (not pointers to objects) it requires
and empty DeleteFunction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 16:09:20 +00:00
Robert Roebling
a90c0600bb Try to catch theme change on the fly in button in
order to resize buttons.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 23:23:05 +00:00
Włodzimierz Skiba
4c2740ec0f Small warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 19:23:28 +00:00
Robert Roebling
863e0817fe Trying to get default button placement and size right.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 19:14:24 +00:00
Robert Roebling
b737ad10de Applied John L's patches for curson scaling, image resizing
without scaling and the art provider resize bitmap patch.
    I'll look into adapting the generic file dialog to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 18:33:57 +00:00
Włodzimierz Skiba
de5dc0febd #pragma implementation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 07:24:04 +00:00
Włodzimierz Skiba
4e22a1f243 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 19:15:38 +00:00
Włodzimierz Skiba
287d71d992 Huge streams checking and warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 19:12:18 +00:00
Włodzimierz Skiba
2a9c090515 Recent commits added new variables for length when there is already one available with warnings silenced.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 19:09:11 +00:00
Václav Slavík
b3c03420c8 fixed crash when wxHtmlWindow's content is updated when making selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 17:18:47 +00:00
Vadim Zeitlin
f281f29f89 fixed bug in ReadAll(): it always returned error when reading files with DOS EOLs in text mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 13:46:42 +00:00
Jouk Jansen
dbbd41ae33 Committing in .
OpenVMS compile support updates

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
 	wxWidgets/src/common/string.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 12:52:43 +00:00
Vadim Zeitlin
7adf0b4de2 use HINSTANCE for first DllMain() parameter (should fix compilation with VC 2005)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 10:54:59 +00:00
Ryan Norton
7a80bdc851 get rid of duplicate comment :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 22:16:48 +00:00
Robin Dunn
1b14227e64 Reduce the value of the fkey guard for unicode characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 21:35:50 +00:00
Robin Dunn
77b7cd4fc3 Set the mouse pos for the drag events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 18:31:54 +00:00
Stefan Csomor
2d17efa94e unicode character events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 17:45:49 +00:00
Włodzimierz Skiba
e5ecf1fc24 In MSWUniv wxWindow and wxWindowMSW are different classes so we can't access some of protected members (catched only by Borland). Therefore some of the flags related to background needs reading API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 10:57:08 +00:00
Julian Smart
1c96869800 Must use GetAdjustedBestSize for getting child window sizes, since
DoGetBestSize returns standard control size e.g. 100x100 on Windows,
and not an explicit size passed to it. This may be because the splitter
window isn't a true sizer and m_bestSizeCache isn't updated properly
(see window.h, GetBestSize: IsFullySpecified fails.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 10:44:17 +00:00
Mattia Barbon
899c6fad26 Revert my last commit, GetClientAreaOrigin was already implemented
in common code by ABX.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 20:18:09 +00:00
Kevin Hock
f842e673f6 Revert last change moving wxFloodFill from imagfill.cpp to dcbase.cpp, which broke compilation across the board when wxUSE_IMAGE is defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 19:13:24 +00:00
Vadim Zeitlin
2a7367398e don't try to save invalid image: added a wxCHECK(Ok()) to Save() overloads which didn't already have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 17:42:28 +00:00
Stefan Csomor
ddc548ec77 correct placard under toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 15:47:17 +00:00
Włodzimierz Skiba
249b31b53b Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 11:43:52 +00:00
Ryan Norton
5e0526df03 wxUSE_TOOLTIPS and wxUSE_IMAGE furthur fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 11:30:21 +00:00
Ryan Norton
b610cc76ee Move wxDoFloodFill to dc.cpp so that it can be 'used' without wxImage. Fixes related to this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 11:10:34 +00:00
Ryan Norton
23af264e46 work w/o bitmap button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 11:06:27 +00:00
Ryan Norton
132422c4b9 More wxUSE_STATTEXT fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 10:59:19 +00:00
Ryan Norton
001e76a930 wxUSE_STATTEXT fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 10:55:32 +00:00
Ryan Norton
a6c91f7da9 compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 10:48:07 +00:00
Ryan Norton
58c5c7ecd2 wxUSE_IMAGLIST fix (good grief...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 10:42:02 +00:00
Ryan Norton
c81c6d5400 wxUSE_TOOLTIPS fix (good grief I think I just did this a couple days ago...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 10:33:51 +00:00
Ryan Norton
c545950d8c wxUSE_XX fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 10:28:13 +00:00