Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanukium committed Feb 25, 2019
2 parents 37f3e8f + a761685 commit de9beae
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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)

Expand All @@ -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()
File renamed without changes.
4 changes: 2 additions & 2 deletions src/wxg/msemi.wxg
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<!-- generated by wxGlade 0.8.3 on Mon Jul 2 15:38:34 2018 -->

<application class="MyApp" encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="msemiApp" option="0" overwrite="1" path="./wxglade_out.py" source_extension=".cpp" top_window="frame" use_gettext="0" use_new_namespace="1">
<object class="MyFrame" name="frame" base="EditFrame">
<application class="E2cApp" encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="msemiApp" option="0" overwrite="1" path="./wxglade_out.py" source_extension=".cpp" top_window="frame" use_gettext="0" use_new_namespace="1">
<object class="E2cFrame" name="frame" base="EditFrame">
<size>400, 300</size>
<title>TestTool</title>
<style>wxDEFAULT_FRAME_STYLE</style>
Expand Down
4 changes: 2 additions & 2 deletions src/wxg/msemi.wxg.bak
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<!-- generated by wxGlade 0.8.3 on Mon Jul 2 15:15:12 2018 -->

<application class="MyApp" encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="msemiApp" option="0" overwrite="1" path="./wxglade_out.py" source_extension=".cpp" top_window="frame" use_gettext="0" use_new_namespace="1">
<object class="MyFrame" name="frame" base="EditFrame">
<application class="E2cApp" encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" name="msemiApp" option="0" overwrite="1" path="./wxglade_out.py" source_extension=".cpp" top_window="frame" use_gettext="0" use_new_namespace="1">
<object class="E2cFrame" name="frame" base="EditFrame">
<size>400, 300</size>
<title>TestTool</title>
<style>wxDEFAULT_FRAME_STYLE</style>
Expand Down

0 comments on commit de9beae

Please sign in to comment.