Added missed wire defines

This commit is contained in:
defnax 2025-03-18 20:02:54 +01:00
parent 5a8d25eb76
commit 60ec0f2e10
2 changed files with 13 additions and 0 deletions

View File

@ -1115,6 +1115,11 @@ void SetForegroundWindowInternal(HWND hWnd)
if (page == _instance->messagesDialog) {
return Messages;
}
#ifdef RS_USE_WIRE
if (page == _instance->wireDialog) {
return Wire;
}
#endif
#if 0
if (page == _instance->channelFeed) {
return Channels;
@ -1162,8 +1167,10 @@ void SetForegroundWindowInternal(HWND hWnd)
return _instance->postedDialog;
case Home:
return _instance->homePage;
#ifdef RS_USE_WIRE
case Wire:
return _instance->wireDialog;
#endif
}
return NULL;

View File

@ -67,7 +67,9 @@ class BandwidthGraph;
class MainPage;
class NewsFeed;
class UserNotify;
#ifdef RS_USE_WIRE
class WireDialog;
#endif
#ifdef MESSENGER_WINDOW
class MessengerWindow;
@ -105,7 +107,9 @@ public:
People = 12, /** People page. */
Options = 13, /** People page. */
Home = 14, /** Home page. */
#ifdef RS_USE_WIRE
Wire = 15 /** Wire page. */
#endif
};
@ -165,7 +169,9 @@ public:
GxsChannelDialog *gxschannelDialog ;
GxsForumsDialog *gxsforumDialog ;
PostedDialog *postedDialog;
#ifdef RS_USE_WIRE
WireDialog *wireDialog;
#endif
// ForumsDialog *forumsDialog;
// ChannelFeed *channelFeed;