summaryrefslogtreecommitdiff
path: root/support/dktools/ScreenSizeApp.cpt
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-09-20 03:03:26 +0000
committerNorbert Preining <norbert@preining.info>2020-09-20 03:03:26 +0000
commit1f457376b478257b88d4a857f5ec1b6155442dd7 (patch)
tree2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/ScreenSizeApp.cpt
parentac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff)
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/ScreenSizeApp.cpt')
-rw-r--r--support/dktools/ScreenSizeApp.cpt18
1 files changed, 14 insertions, 4 deletions
diff --git a/support/dktools/ScreenSizeApp.cpt b/support/dktools/ScreenSizeApp.cpt
index 7d40bf76ad..368b855ec2 100644
--- a/support/dktools/ScreenSizeApp.cpt
+++ b/support/dktools/ScreenSizeApp.cpt
@@ -1,8 +1,8 @@
%% options
copyright owner = Dirk Krause
-copyright year = 2017
-license = bsd
+copyright year = 2017-xxxx
+SPDX-License-Identifier: BSD-3-Clause
@@ -58,7 +58,12 @@ class ScreenSizeApp : public wxApp
/** Declaration as the wxApp object.
*/
+
+#if wxCHECK_VERSION(3,0,0)
+wxDECLARE_APP(ScreenSizeApp);
+#else
DECLARE_APP(ScreenSizeApp)
+#endif
@@ -246,7 +251,7 @@ aaaaa
# 9 10 11 12 13 14 15: List of libraries used.
#
DK tools, wxWidgets, libpng, libjpeg, libtiff, zlib.
-http://dktools.sourceforge.net
+http://sourceforge.net/p/dktools/wiki/Home/
http://www.wxwidgets.org
http://www.libpng.org/pub/png/libpng.html
http://www.ijg.org
@@ -289,7 +294,12 @@ $!end
/** Implementation of the wxApp functionality.
*/
+
+#if wxCHECK_VERSION(3,0,0)
+wxIMPLEMENT_APP(ScreenSizeApp);
+#else
IMPLEMENT_APP(ScreenSizeApp)
+#endif
bool
@@ -388,8 +398,8 @@ ScreenSizeApp::OnInit()
/* Show frame, restore position and indicate success.
*/
- frame->Show();
frame->RestorePosition();
+ frame->Show();
back = true;
/* Release resources if initialization failed.