Julian Smart
9b8b5b085d
Object position calculation correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-07 16:23:05 +00:00
Paul Cornett
75297d8842
avoid warnings about double-to-float conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-06 19:33:26 +00:00
Paul Cornett
23aa1404be
avoid warning about shadowed variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-06 19:30:22 +00:00
Paul Cornett
f771a15d9e
cast to proper type to avoid warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-06 19:28:50 +00:00
Paul Cornett
d86715a3a3
remove unused macro definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-06 19:27:58 +00:00
Paul Cornett
e003c663fd
avoid warning about unreachable code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-06 19:27:31 +00:00
Paul Cornett
8b3e3e594b
avoid double-to-float conversion warnings in headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-05 17:13:46 +00:00
Vadim Zeitlin
7238d2761f
Don't use %i format specifier for size_t values.
...
In 64 bit build, size_t can be 64 bits while %i expects a 32 bit value.
Fix this by just avoiding the unnecessary use of size_t, the number of entries
in the index is not going to be greater than 2^32.
Closes #16163 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-05 10:44:54 +00:00
Vadim Zeitlin
eed86ca61a
Fix warning about %lu being used with an int in 32 bit wxOSX build.
...
NSUInteger is unsigned long in 64 bit builds, but unsigned int in 32 bits, so
case it to long explicitly to avoid warnings about using it with %lu format
specifier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-05 10:44:51 +00:00
Vadim Zeitlin
337afc2471
Remove unused variables from wxRichTextListStylePage code.
...
This avoids warnings about them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 18:32:31 +00:00
Paul Cornett
ab9f9bc492
avoid preprocessor directives inside macro invocation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 16:55:28 +00:00
Paul Cornett
70b7d04f0b
remove unused member functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 16:46:00 +00:00
Paul Cornett
9b41d18b25
remove unused macro definitions
...
and limit others to the configurations which use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 16:44:30 +00:00
Paul Cornett
010e897e48
assertion messages don't need to be translated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 16:00:03 +00:00
Paul Cornett
ba962b00cb
remove redundant assertion messages, wxLogError has already been called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 15:56:29 +00:00
Vadim Zeitlin
4c76ae6707
Add more precise wxRibbonBar::ShowPanels() overload.
...
The existing overload taking bool didn't allow to specify whether the panel
should be just expanded or expanded and pinned, add a new one supporting this.
Also fix a bug with not updating the ribbon state in the old method.
Closes #16133 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 15:28:51 +00:00
Vadim Zeitlin
c87dd9ceb0
Turkish translation update from Hakki Dogusan.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 15:28:47 +00:00
Vadim Zeitlin
c65fdfb3e3
Document wxRibbonDisplayMode enum.
...
See #16133 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 15:28:42 +00:00
Paul Cornett
e83f66259e
fix typo in size 2530 --> 3530
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 15:26:09 +00:00
Paul Cornett
87bb3c9c4f
fix some asserts that were clearly meant to be wxFAIL_MSG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 15:09:15 +00:00
Paul Cornett
8009bf50ae
fix more memory leaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 06:45:27 +00:00
Paul Cornett
cfe6604d5d
fix missing semicolon typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 06:36:59 +00:00
Paul Cornett
15dd9e117c
Improve conversion between wxPaperSize and GtkPaperSize
...
by using a table to map the screwy Windows DMPAPER_* stuff, which wxWidgets stupidly uses.
Eliminates many "Gtk-WARNING **: Unknown paper size", and the occasional
"GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed".
And fixes approximately one zillion memory leaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-04 06:05:23 +00:00
Julian Smart
fcec1f4e02
Removed unnecessary list renumbering
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-03 13:53:42 +00:00
Robin Dunn
8dda8dcefb
working version of the trac hooks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-03 01:40:28 +00:00
Robin Dunn
5068bf7ca7
Yet another test commit. Closes #16155
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-03 01:28:54 +00:00
Robin Dunn
06fe44b6e0
Yet another test commit. Closes #16155
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-03 01:08:09 +00:00
Robin Dunn
b0f1a084b9
Another test commit. Closes #16155
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 23:59:47 +00:00
Robin Dunn
73150db467
Another test commit. Closes #16155
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 23:51:30 +00:00
Robin Dunn
90647db02a
Another test commit. Closes #16155
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 23:35:24 +00:00
Robin Dunn
8a3694af86
Update svn hooks. Closes #16155
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 23:26:32 +00:00
Vadim Zeitlin
ec679be512
Fix return value of wxRichMessageDialog with only an "OK" button.
...
Apply the same workaround as was applied in r67771 to wxMessageDialog to
wxRichMessageDialog and map IDCANCEL returned from it to IDOK if "Cancel" is
the only button in the dialog -- as in this case it's really just a renamed
(for convenience of allowing the user to use "Esc" to close it) "OK".
Closes #16153 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 22:39:09 +00:00
Vadim Zeitlin
400e16fd89
Show the result of closing rich message box in the sample.
...
Improve showing the button which closed the message box by doing it inside the
dialog used for testing it instead of popping up a separate message box just
for this.
And do the same thing for rich message boxes as for the normal ones.
See #16153 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 22:39:08 +00:00
Vadim Zeitlin
cb2de3b400
Decrease the size of the message box test dialog in the sample.
...
This dialog was getting too tall, especially in the rich message boxes case,
so reduce its vertical size.
Also centre it on screen to prevent it from being displayed partially off it
because contents was added to the dialog after creating it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-02 22:39:06 +00:00
Vadim Zeitlin
ec7d7f6356
Don't build the drawing test in GUI-less builds.
...
This test requires GUI parts.
Closes #16145 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-01 22:49:04 +00:00
Paul Cornett
0da8eb2786
Fix invalid use of g_object_get_property()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-01 17:45:01 +00:00
Vadim Zeitlin
0930541da9
Fix recently introduced assert when using owner drawn items in wxMSW.
...
Relax the check added in r76202, the item might not be added to its parent
menu yet even if the menu is not NULL.
See #13878 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-01 12:46:52 +00:00
Jouk Jansen
cb9a769aad
Update OpenVMS compile support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-01 09:02:42 +00:00
Jouk Jansen
225daa32d7
OpenVMS (Alpha only) uses != operator in std::find ->needs operator defenition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-01 08:56:05 +00:00
Stefan Csomor
9354ecbbeb
fixing missing wxON_BLOCK_EXIT_OBJ1 error on gtk build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 19:42:08 +00:00
Stefan Csomor
096a7abda6
extra semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 18:28:36 +00:00
Stefan Csomor
5fb4d3044a
testing whether this helps getting the drawing testsuite to build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 18:28:05 +00:00
Julian Smart
9ab80ed818
Use style sheet when copying to the clipboard if available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 16:11:08 +00:00
Stefan Csomor
174faa04aa
single wxFALLTHROUGH change to test different builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 15:47:20 +00:00
Stefan Csomor
8f7ca8a4a7
fixing parameter type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 15:46:53 +00:00
Stefan Csomor
2c2bfbfa4d
fixing extra semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 15:46:24 +00:00
Stefan Csomor
a20a842791
getting rid of clang warning due to variable size array
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 15:46:05 +00:00
Stefan Csomor
e4350cf2b9
silencing paranoid analyzer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 15:45:26 +00:00
Stefan Csomor
17c7a92386
fixing include style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 15:44:56 +00:00
Stefan Csomor
bdb7453c7b
adding wxFALLTHROUGH to indicate intended fall through in switch statements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 15:28:55 +00:00