Skip to content

Commit a707048

Browse files
authored
Add files via upload
1 parent 5f89f85 commit a707048

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def __init__(self, *args, **kwds):
126126
self.SetSize((470, 620))
127127
self.SetTitle("Custom RPC")
128128
_icon = wx.NullIcon
129-
_icon.CopyFromBitmap(wx.Bitmap(".\\icon.ico", wx.BITMAP_TYPE_ANY))
129+
_icon.CopyFromBitmap(wx.Bitmap("./icon.ico", wx.BITMAP_TYPE_ANY))
130130
self.SetIcon(_icon)
131131
self.SetBackgroundColour(wx.Colour(34, 35, 42))
132132

@@ -292,16 +292,16 @@ def __init__(self, *args, **kwds):
292292
self.button_1.SetMinSize((220, 30))
293293
self.button_1.SetBackgroundColour(wx.Colour(34, 35, 42))
294294
self.button_1.SetForegroundColour(wx.Colour(34, 35, 42))
295-
self.button_1.SetBitmap(wx.Bitmap(cd + "\\" + "update.bmp", wx.BITMAP_TYPE_ANY), dir=wx.TOP)
296-
self.button_1.SetBitmapPressed(wx.Bitmap(cd + "\\" + "update_pressed.bmp", wx.BITMAP_TYPE_ANY))
295+
self.button_1.SetBitmap(wx.Bitmap(cd + "/" + "update.bmp", wx.BITMAP_TYPE_ANY), dir=wx.TOP)
296+
self.button_1.SetBitmapPressed(wx.Bitmap(cd + "/" + "update_pressed.bmp", wx.BITMAP_TYPE_ANY))
297297
grid_sizer_1.Add(self.button_1, 0, wx.BOTTOM, 0)
298298

299299
self.button_2 = wx.Button(self.panel_1, wx.ID_ANY, "", style=wx.BORDER_NONE)
300300
self.button_2.SetMinSize((220, 30))
301301
self.button_2.SetBackgroundColour(wx.Colour(34, 35, 42))
302302
self.button_2.SetForegroundColour(wx.Colour(34, 35, 42))
303-
self.button_2.SetBitmap(wx.Bitmap(cd + "\\" + "disconnect.bmp", wx.BITMAP_TYPE_ANY), dir=wx.TOP)
304-
self.button_2.SetBitmapPressed(wx.Bitmap(cd + "\\" + "disconnect_pressed.bmp", wx.BITMAP_TYPE_ANY))
303+
self.button_2.SetBitmap(wx.Bitmap(cd + "/" + "disconnect.bmp", wx.BITMAP_TYPE_ANY), dir=wx.TOP)
304+
self.button_2.SetBitmapPressed(wx.Bitmap(cd + "/" + "disconnect_pressed.bmp", wx.BITMAP_TYPE_ANY))
305305
grid_sizer_1.Add(self.button_2, 0, wx.BOTTOM, 0)
306306

307307
self.panel_1.SetSizer(grid_sizer_1)

0 commit comments

Comments
 (0)