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

View file

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