Fixed incorrect localization that led to an error in 'Save' from tab menu.

This commit is contained in:
Paul Kulchenko
2013-05-13 11:25:02 -07:00
parent 099f9f92fa
commit cb2cb9ff3c
5 changed files with 10 additions and 9 deletions

View File

@@ -765,7 +765,7 @@ function debuggerCreateStackWindow()
return true
end)
local notebook = wxaui.wxAuiNotebook(frame, wx.wxID_ANY,
local notebook = wxaui.wxAuiNotebook(ide.frame, wx.wxID_ANY,
wx.wxDefaultPosition, wx.wxDefaultSize,
wxaui.wxAUI_NB_DEFAULT_STYLE + wxaui.wxAUI_NB_TAB_EXTERNAL_MOVE
- wxaui.wxAUI_NB_CLOSE_ON_ACTIVE_TAB + wx.wxNO_BORDER)
@@ -781,7 +781,7 @@ function debuggerCreateStackWindow()
end
local function debuggerCreateWatchWindow()
local watchCtrl = wx.wxListCtrl(frame, wx.wxID_ANY,
local watchCtrl = wx.wxListCtrl(ide.frame, wx.wxID_ANY,
wx.wxDefaultPosition, wx.wxDefaultSize,
wx.wxLC_REPORT + wx.wxLC_EDIT_LABELS)
@@ -871,7 +871,7 @@ local function debuggerCreateWatchWindow()
event:Skip()
end)
local notebook = wxaui.wxAuiNotebook(frame, wx.wxID_ANY,
local notebook = wxaui.wxAuiNotebook(ide.frame, wx.wxID_ANY,
wx.wxDefaultPosition, wx.wxDefaultSize,
wxaui.wxAUI_NB_DEFAULT_STYLE + wxaui.wxAUI_NB_TAB_EXTERNAL_MOVE
- wxaui.wxAUI_NB_CLOSE_ON_ACTIVE_TAB + wx.wxNO_BORDER)