Skip to content

Commit c379f09

Browse files
committed
MyFrameMain: disable window share for WIN32 as well
Can be re-enabled later. Focus on essential functionality for the first Windows release. re #250
1 parent c09c7d4 commit c379f09

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/gui/MyFrameMain.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,7 @@ MyFrameMain::MyFrameMain(wxWindow* parent, int id, const wxString& title,
128128
wxGetEnv("FLATPAK_ID", &flatpakId);
129129
// don't show for flatpak and wayland
130130
if(!flatpakId.IsEmpty() || !sessionType.IsSameAs("x11"))
131-
frame_main_menubar->Remove(frame_main_menubar->FindMenu(_("Window &Sharing")));
132-
#elif defined __WXMSW__
133-
// always on
131+
frame_main_menubar->Remove(frame_main_menubar->FindMenu(_("Window &Sharing")))
134132
#else
135133
// always off so far
136134
frame_main_menubar->Remove(frame_main_menubar->FindMenu(_("Window &Sharing")));

0 commit comments

Comments
 (0)