X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=wx%2Fpdf2swf.py;h=7e3f4bd7148959b8d334d9317d4706fe4e09c92f;hp=b875b365b143054d838085686f658a267e4c6225;hb=508e16030c78d6d0083317ec96f2588b503709d3;hpb=7fc35e5e84271dc3955620e09ef0dc7b3aa192ad diff --git a/wx/pdf2swf.py b/wx/pdf2swf.py index b875b36..7e3f4bd 100755 --- a/wx/pdf2swf.py +++ b/wx/pdf2swf.py @@ -1,5 +1,27 @@ #!/usr/bin/env python # -*- coding: ISO-8859-15 -*- +# +# pdf2swf.py +# graphical user interface for pdf2swf +# +# Part of the swftools package. +# +# Copyright (c) 2008,2009 Matthias Kramm +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + import sys import wx @@ -1042,24 +1064,6 @@ class Pdf2swfFrame(wx.Frame): hsplit.SplitVertically(self.pagelist, self.onepage, sashPosition=ICON_SIZE*3/2) hsplit.SetMinimumPaneSize(10) -#class TestWindow(wx.SplitterWindow): -# def __init__(self,parent): -# wx.SplitterWindow.__init__(self, parent, -1) -# panel = wx.Panel(self, -1) -# self.txt = wx.StaticText(panel, -1, "bla bla bla", (100,10), (160,-1), wx.ALIGN_CENTER|wx.ALIGN_CENTER_VERTICAL) -# self.SetMinSize((320,200)) -# self.txt.SetForegroundColour("blue") -# self.txt.SetBackgroundColour("green") -# self.Fit() -# self.Initialize(panel) -# -#class TestFrame(wx.Frame): -# def __init__(self,parent): -# wx.Frame.__init__(self, None, -1) -# panel = wx.Panel(self, -1) -# window = TestWindow(panel) -# window.Show() - class MyApp(wx.App): def __init__(self): wx.App.__init__(self, redirect=False, filename=None, useBestVisual=False)