Commit Graph

13592 Commits

Author SHA1 Message Date
Stefan Csomor
d390fdcf00 blind fix for trails of border after resize operations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 19:35:45 +00:00
Stefan Csomor
7a96ca3a45 we have to include the mac/private header in order to the OSX macro at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 19:23:53 +00:00
Julian Smart
977a381865 Help button left-aligned in wizard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 17:25:45 +00:00
Stefan Csomor
49e3e2c25f support for Mac Help Button added (wxID_HELP) is automatically translated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 14:37:20 +00:00
Julian Smart
dedb0f6db5 Need to include scrolwin.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 14:26:05 +00:00
Stefan Csomor
0fa8508d0c moving focus rect overlap problems to the vis region of a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 14:09:39 +00:00
Stefan Csomor
fd926bccac drawing the border based on the native control's border, as things like calctrl may override the GetPosition etc. call, so that we'd draw a border around the overall control instead of the day's part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 13:27:32 +00:00
Stefan Csomor
b5267123bf moving popup-button closer to text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 05:28:36 +00:00
Stefan Csomor
ff6871ef3d making the width of the popup button dependent from the window variant, adding a one pixel safety border below the readonly combobox, and moving the popup button one pixel to the left in order to avoid chop-off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 05:22:52 +00:00
Robin Dunn
9a7e4a56b6 At least correct the compile error until we decide what to for real.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 03:04:44 +00:00
Robin Dunn
e830a6a64d Hide the page before adjusting its size, otherwise it might get painted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 03:02:00 +00:00
Robin Dunn
fff8475e0c A better workaround for Bug# 901694 that works with GTK+ 1.2, 2.2
*and* 2.4.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 23:09:17 +00:00
David Elliott
85431efa68 Use delete foo; instead of GSocket_destroy(foo);
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 22:28:19 +00:00
David Elliott
e27c99c750 Get rid of wxUSE_GSOCKET_CPLUSPLUS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 20:56:47 +00:00
David Elliott
8b6fc577bd Use native C++ GSocket interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 20:32:49 +00:00
David Elliott
6fce0cb8d4 gsocket.c has been replaced by gsocket.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:56:34 +00:00
David Elliott
3a9f2af7ff According to Stefan Neis this file isn't used by anything other than
the now defunct IBM Visual Age C++.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:37:46 +00:00
David Elliott
ac377c640b Removed unused file (replaced by src/os2/gsockpm.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:34:00 +00:00
David Elliott
1d2ec8e5a4 wxMac CFM never has a GSocketGUIFunctionsTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:28:14 +00:00
David Elliott
a1ad0f6be8 C->C++ conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:18:57 +00:00
David Elliott
c5602b4a8d wxMac GSocket C -> C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:04:33 +00:00
David Elliott
e6f2ec1408 Copied src/mac/carbon/gsocket.c revision 1.20
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 18:55:29 +00:00
Stefan Csomor
36d7f54e46 correcting border drawing for clientareaorigin in notebooks etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 18:49:27 +00:00
Stefan Csomor
101634b2e4 corrected positioning of focus rect in hierarchies and changed the redraw after a control lost focus to do an invalidation instead of a redraw, because in the situations where we have wrong z-order (static boxes) a wrong shade of gray will get painted otherwise.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 18:30:55 +00:00
Stefan Csomor
1dc1b891f1 undoing last change, widgets sample had slider label offset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 15:53:20 +00:00
Stefan Csomor
af6b7b80cf moving stacking event handlers and event ref to central location, border handling when using native theme methods moved to native event handler, so that we can always make sure we only draw on the updateRgn, otherwise things get darker and darker....
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 15:52:50 +00:00
Stefan Csomor
27740109ca moving stacking event handlers and event ref to central location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 15:50:40 +00:00
Stefan Csomor
eec462f8b8 switch to draw borders from the parent window, as we are not getting all redraws otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 09:30:09 +00:00
Stefan Csomor
cf9d0f9301 add a outside area for borders and focus rects of 3 pixels to a wxWindowDC's clip region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 09:19:14 +00:00
Robin Dunn
7acd36259b Added NormalizeFontSizes which will set the html font sizes based on
the size of a system font.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 23:59:44 +00:00
David Elliott
e219748f2c Removed unneeded GSocket files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 20:05:17 +00:00
Stefan Csomor
1a02aff925 corrected GetPosition and extended erasing to include the entire update rgn passed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 19:21:47 +00:00
Włodzimierz Skiba
4bf45c9eca Peparation for native Smartphone controls based on Spinners.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 16:52:13 +00:00
Włodzimierz Skiba
d95de15439 Unused parameters markup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 16:46:32 +00:00
Włodzimierz Skiba
d394825d69 Fixed wrong condition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 13:36:42 +00:00
Stefan Csomor
4b5aa5c823 fixing memleak, correcting huge background erase area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 19:22:22 +00:00
Stefan Csomor
d5375d25c7 best size taking into account borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 18:20:38 +00:00
Stefan Csomor
42ef83fa71 redraw fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 16:36:04 +00:00
Stefan Csomor
a20d7ea2c5 we have to force live updates under OSX as there is no ScreenDC on OSX available right now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 13:13:16 +00:00
Stefan Csomor
84e5d27d6c corrected scroll rect position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 11:48:04 +00:00
Włodzimierz Skiba
79630806b6 Blind fix to precompiled headers verified by author of bug #1003085
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 08:04:06 +00:00
David Elliott
83a9be3427 Use new C++ sockets for everything except OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 03:22:44 +00:00
David Elliott
0a64769125 C->C++ conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 03:04:53 +00:00
David Elliott
d2d9c80325 Accidently left in an extra {} and also had wrong license name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:22:09 +00:00
David Elliott
ba2a81d747 Revert original UNIX C->C++ conversion and instead make it work exactly
like the new MSW C++ GSocket.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:18:39 +00:00
David Elliott
1f360a2db7 Provide stub for wxDisplayBase::GetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 18:41:18 +00:00
Stefan Csomor
db7a550bd7 refresh had to offset the region by borders
moving windows had to take parent borders into account as well on composited windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 18:00:51 +00:00
Włodzimierz Skiba
17a6a2e097 WinCE warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 08:24:04 +00:00
David Elliott
a45068485c * Made GSocket::GetError() exp/imp from net library and provide an inline
compatibility function.
* Provide a Null gs_gui_functions implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 04:14:42 +00:00
David Elliott
c90cc42e98 Real C++(ish) code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 03:37:32 +00:00