From a7616853a8fb5d963926f0ff727c12e39afde1b4 Mon Sep 17 00:00:00 2001 From: Tanukium Date: Mon, 25 Feb 2019 14:02:43 +0900 Subject: [PATCH] a little changes with names of methods and class. --- src/main.py | 18 +++++++++--------- src/{txt.py => txt2csv.py} | 0 src/wxg/msemi.wxg | 4 ++-- src/wxg/msemi.wxg.bak | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) rename src/{txt.py => txt2csv.py} (100%) diff --git a/src/main.py b/src/main.py index 2a7a990..1bea915 100644 --- a/src/main.py +++ b/src/main.py @@ -28,10 +28,10 @@ def OnDropFiles(self, x, y, file_names): return True -class MyFrame(wx.Frame): +class E2cFrame(wx.Frame): def __init__(self, *args, **kwds): - # begin wxGlade: MyFrame.__init__ + # begin wxGlade: E2cFrame.__init__ kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_FRAME_STYLE wx.Frame.__init__(self, *args, **kwds) self.SetSize((400, 300)) @@ -41,12 +41,12 @@ def __init__(self, *args, **kwds): # end wxGlade def __set_properties(self): - # begin wxGlade: MyFrame.__set_properties + # begin wxGlade: E2cFrame.__set_properties self.SetTitle("Excel->CSV直行便 v1.00") # end wxGlade def __do_layout(self): - # begin wxGlade: MyFrame.__do_layout + # begin wxGlade: E2cFrame.__do_layout sizer_1 = wx.BoxSizer(wx.VERTICAL) sizer_1.Add((400, 120), 0, wx.EXPAND, 0) @@ -67,19 +67,19 @@ def __do_layout(self): # end wxGlade -# end of class MyFrame +# end of class E2cFrame -class MyApp(wx.App): +class E2cApp(wx.App): def OnInit(self): - self.frame = MyFrame(None, wx.ID_ANY, "") + self.frame = E2cFrame(None, wx.ID_ANY, "") self.SetTopWindow(self.frame) self.frame.Show() return True -# end of class MyApp +# end of class E2cApp if __name__ == "__main__": - msemiApp = MyApp(0) + msemiApp = E2cApp(0) msemiApp.MainLoop() diff --git a/src/txt.py b/src/txt2csv.py similarity index 100% rename from src/txt.py rename to src/txt2csv.py diff --git a/src/wxg/msemi.wxg b/src/wxg/msemi.wxg index 500c9e8..85abe42 100644 --- a/src/wxg/msemi.wxg +++ b/src/wxg/msemi.wxg @@ -1,8 +1,8 @@ - - + + 400, 300 TestTool diff --git a/src/wxg/msemi.wxg.bak b/src/wxg/msemi.wxg.bak index 68918a2..e42a5e2 100644 --- a/src/wxg/msemi.wxg.bak +++ b/src/wxg/msemi.wxg.bak @@ -1,8 +1,8 @@ - - + + 400, 300 TestTool