File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -223,10 +223,7 @@ clToolBar* ExternalToolsPlugin::CreateToolBar(wxWindow* parent)
223
223
m_tb->Realize ();
224
224
} else {
225
225
// Using native toolbar
226
- wxFrame* frame = dynamic_cast <wxFrame*>(parent);
227
- CHECK_PTR_RET_NULL (frame);
228
-
229
- wxToolBar* toolbar = frame->GetToolBar ();
226
+ wxToolBar* toolbar = EventNotifier::Get ()->TopFrame ()->GetToolBar ();
230
227
CHECK_PTR_RET_NULL (toolbar);
231
228
232
229
// Add the static tools
Original file line number Diff line number Diff line change 99
99
<Project Name =" wxsqlite3" ConfigName =" Win_x86_Release" />
100
100
<Project Name =" ZoomNavigator" ConfigName =" Win_x86_Release" />
101
101
</WorkspaceConfiguration >
102
- <WorkspaceConfiguration Name =" CMake_Release" Selected =" yes " >
102
+ <WorkspaceConfiguration Name =" CMake_Release" Selected =" no " >
103
103
<Project Name =" ZoomNavigator" ConfigName =" DebugUnicode" />
104
104
<Project Name =" wxsqlite3" ConfigName =" Win_x86_Release" />
105
105
<Project Name =" wxshapeframework" ConfigName =" Win_x86_Release" />
144
144
<Project Name =" WebTools" ConfigName =" DebugUnicode" />
145
145
<Project Name =" HelpPlugin" ConfigName =" Win_x64_Debug" />
146
146
</WorkspaceConfiguration >
147
- <WorkspaceConfiguration Name =" CMake_Debug" Selected =" no " >
147
+ <WorkspaceConfiguration Name =" CMake_Debug" Selected =" yes " >
148
148
<Project Name =" ZoomNavigator" ConfigName =" Win_x86_Release" />
149
149
<Project Name =" wxsqlite3" ConfigName =" Win_x86_Release" />
150
150
<Project Name =" wxshapeframework" ConfigName =" Win_x86_Release" />
You can’t perform that action at this time.
0 commit comments