Vadim Zeitlin
302adc47d6
use _tcsdup() for compilers with TCHAR support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:00:32 +00:00
Vadim Zeitlin
93fe555876
no changes, really
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:00:08 +00:00
Robin Dunn
9441da1902
Fix in <array>::Grow for when the array is not yet full but the
...
nIncrement is greater than the space left.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 21:39:59 +00:00
Robin Dunn
fa0e662ad9
typo fix for the branch too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 21:38:57 +00:00
Robert Roebling
2bcf7f2fed
Added ugly hack for pda's message and
...
other common dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 21:07:22 +00:00
Robert Roebling
7e9dfde99b
Fix typo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 21:06:47 +00:00
Stefan Csomor
65653bad15
switched hide and show calls to using transition window calls, this supports animation and sound support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 19:16:56 +00:00
Stefan Csomor
a14865055c
changed resize code to reflect minimum and maximum sizes already when dragging the size rectangle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 19:15:16 +00:00
Robin Dunn
63684edb71
Fixed some of the cleanup commands
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 17:33:03 +00:00
Vadim Zeitlin
a19f8994da
apparently MipsPRO compiler needs -KPIC and not -fPIC for the shared libraries creation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 13:28:33 +00:00
Vadim Zeitlin
fda7f3a124
compilation fix: missing forward decl for wxTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 12:57:31 +00:00
Vadim Zeitlin
fe25fb0c68
(blind) fixes for building shared libraries under AIX with gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 12:53:45 +00:00
Julian Smart
536d412453
Applied fix for [ 439207 ] Monochrome PNG images come up black
...
Joel Tesler (jtesler)
A monochrome black and white PNG image comes up all
black. This is referring to a single bit greyscale
pixmap, not a one bit palette pxiamp.
The easiest way to reproduce is to grab
http://www.schaik.com/pngsuite/basn0g01.png and go
into the image sample, and replace horse.png with
this file.
The following patch appears to fix the problem.
However, I do not know what other side effects it
might have.
--- imagpng.cpp~ Fri Jul 6 14:53:33 2001
+++ imagpng.cpp Fri Jul 6 15:17:06 2001
@@ -140,6 +140,8 @@
if (color_type == PNG_COLOR_TYPE_PALETTE)
png_set_expand( png_ptr );
+ if (bit_depth < 8)
+ png_set_expand( png_ptr );
png_set_strip_16( png_ptr );
png_set_packing( png_ptr );
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 08:53:30 +00:00
Julian Smart
4849c8132b
Fixed [ 548055 ] Bug in wxToolBarSimple::Realize()
...
Cédric RICARD
There is an inversion in wxToolBarSimple::Realize():
The current code is :
if ( GetWindowStyleFlag() & wxTB_HORIZONTAL )
m_maxWidth += maxToolWidth;
else
m_maxHeight += maxToolHeight;
I think it should be :
if ( GetWindowStyleFlag() & wxTB_HORIZONTAL )
m_maxHeight += maxToolHeight;
else
m_maxWidth += maxToolWidth;
Just take an example to see the bug, and have a look
to the rest of the function :
If you create an horizontal tool bar with only 3
tools of 16 pixels length each, when you reach this
code, m_maxWidth is equal to 3*16 pixels. So it have
the good width. You needn't to add other 16 pixels.
But m_maxHeight is equal to 0 ! So you have to take
care of the line you have just created...
This is very logical. In an horizontal tool bar,
m_maxWidth is increased after each new tool. But
m_maxHeight is only increased when an entire line is
finished, or when the last tool is added to take care
of the last line.
And at last, I think you should add a :
SetSize(m_maxWidth, m_maxHeight);
after the previous code. Just try the ToolBar sample
code. It only works if I do that...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 08:21:00 +00:00
Ron Lee
ddbbd35e11
update python version dependency.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 01:37:43 +00:00
Vadim Zeitlin
326330ac79
don't crash when recreating notebook under wxGTK (bug 571853)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 00:11:49 +00:00
Ron Lee
69cb65e162
bumped version to 2.3.3.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 23:31:22 +00:00
Ron Lee
63d063a1db
Persist without manpages, the cure is worse than the affliction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 23:25:30 +00:00
Václav Slavík
c0d4a6b3c1
fix for filenames extraction for wxBitmapButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 22:39:25 +00:00
Vadim Zeitlin
2304dc6eaa
mention that multiple selection events are not sent to the virtual list controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 21:49:16 +00:00
Vadim Zeitlin
ead7e5c1bf
force controls with wxTE_RICH2 style to scroll to the end in AppendText() (fixes bug 564526)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:40:50 +00:00
Robert Roebling
db74b98be8
Added work around for compilation prob in
...
utilscmns. The whole mess should be
removed.
Not sure what I changed in fontmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:28:57 +00:00
Robert Roebling
663e452b5e
Implement screen size testing (wxSystemSettings) under X11.
...
Add a hack for the incorrect XDrawLine() call in Xipaq.
Minor fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:26:11 +00:00
Robert Roebling
2c08b4c50e
Actually implement setting_screen size since
...
we are writing code for it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:24:29 +00:00
Robert Roebling
73c6d13263
CreateButtonSizer in wxDialog will craete
...
a PDA size adapted button sizer now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:23:08 +00:00
Robert Roebling
a44c9d41d7
Adapt wxFileDialog and wxMessageDialog for PDAs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:22:13 +00:00
Robert Roebling
5ec87fd62f
Use renderer for wxListCtrl's header in wxUniversal.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:21:33 +00:00
Vadim Zeitlin
72d490511c
use full 32 bit range when dragging a scrollbar (fixes bug 414986)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:07:13 +00:00
Mattia Barbon
8f37ed893c
Fix wxListEvent::GetLabel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:06:20 +00:00
Vadim Zeitlin
1cb08da2e2
define ZEXPORT as empty if the system zlib.h doesn't define it (fixes bug 583681)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 19:46:57 +00:00
Vadim Zeitlin
51e247cc98
don't allow TABbing away from the list control while the label is being edited (fixes bug 555749)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 19:42:45 +00:00
Julian Smart
8f5617e6ff
Use System DDE topic for wxExecute if no topic found
...
Try Execute first, then Request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 18:23:34 +00:00
Vadim Zeitlin
91916eeab9
more checks to avoid asserts (wxID_PRINT tool might not exist); added _T() around strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 11:54:18 +00:00
Vadim Zeitlin
164d6a95e6
remove the old buttons in Realize() before inserting the new ones in text only mode too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 11:53:21 +00:00
Vadim Zeitlin
20b7206cb2
removed unused MSWWindowProc() (so that nobody is tempted to put it back)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 11:16:14 +00:00
Robin Dunn
79aa7172fb
More tweaks for wxTimeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 06:10:53 +00:00
Robin Dunn
197daf705d
Fixed default size of wxTimeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 05:52:24 +00:00
Robin Dunn
6056c203bd
Added missing !
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 05:31:00 +00:00
Robin Dunn
460ad82472
Added wxTimeCtrl from Will Sadkin.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 05:13:00 +00:00
Robin Dunn
4547ef2757
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 04:27:57 +00:00
Ron Lee
76d321e2d1
oops, add the section extentions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 01:41:30 +00:00
Ron Lee
d36d6728e1
link undocumented man page to undocumented binaries.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 00:33:08 +00:00
Václav Slavík
3ec9ba300d
added wxID_CLOSE_ALL to XRC (SF patch)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 23:03:13 +00:00
Robin Dunn
0459ba31a6
Updated build instructions and etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 22:45:04 +00:00
Robin Dunn
e6c9b3243c
Set wxPython version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 21:35:55 +00:00
Robin Dunn
2d2fb2f198
SWIGged update for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:44:35 +00:00
Robin Dunn
88becfa938
SWIGged update for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:40:50 +00:00
Robin Dunn
8de8e59e06
Added wxMenuBar::IsEnabledTop
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:39:41 +00:00
Robin Dunn
5fb99fe76f
Allow the developer to choose if SetUseBestVisual is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:39:08 +00:00
Robin Dunn
1176111c0d
A patch for wxListCtrlAutoWidthMixin from anthony@computronix.com
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:35:36 +00:00